projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove 0 assignments.
[openssl.git]
/
crypto
/
bn
/
bn_lib.c
diff --git
a/crypto/bn/bn_lib.c
b/crypto/bn/bn_lib.c
index 2ca6beab364d801df75c2230572668644941d68f..3b07d7d28cb6144c4a40e98d8bafe4675bf6417d 100644
(file)
--- a/
crypto/bn/bn_lib.c
+++ b/
crypto/bn/bn_lib.c
@@
-275,15
+275,11
@@
BIGNUM *BN_new(void)
{
BIGNUM *ret;
{
BIGNUM *ret;
- if ((ret = OPENSSL_
m
alloc(sizeof(*ret))) == NULL) {
+ if ((ret = OPENSSL_
z
alloc(sizeof(*ret))) == NULL) {
BNerr(BN_F_BN_NEW, ERR_R_MALLOC_FAILURE);
return (NULL);
}
ret->flags = BN_FLG_MALLOCED;
BNerr(BN_F_BN_NEW, ERR_R_MALLOC_FAILURE);
return (NULL);
}
ret->flags = BN_FLG_MALLOCED;
- ret->top = 0;
- ret->neg = 0;
- ret->dmax = 0;
- ret->d = NULL;
bn_check_top(ret);
return (ret);
}
bn_check_top(ret);
return (ret);
}