projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make depend
[oweals/openssl.git]
/
crypto
/
bn
/
bn_div.c
diff --git
a/crypto/bn/bn_div.c
b/crypto/bn/bn_div.c
index 899d07ca2420e208ca893e52bf8ce46138744313..802a43d642de37072ef5de201d51a71658178426 100644
(file)
--- a/
crypto/bn/bn_div.c
+++ b/
crypto/bn/bn_div.c
@@
-102,7
+102,7
@@
int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d,
/* The next 2 are needed so we can do a dv->d[0]|=1 later
* since BN_lshift1 will only work once there is a value :-) */
BN_zero(dv);
-
bn_wexpand(dv,1)
;
+
if(bn_wexpand(dv,1) == NULL) goto end
;
dv->top=1;
if (!BN_lshift(D,D,nm-nd)) goto end;