projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
061d6c2
)
Fix incorrect return argument.
author
Rich Salz
<rsalz@openssl.org>
Sun, 21 Aug 2016 16:50:05 +0000
(12:50 -0400)
committer
Rich Salz
<rsalz@openssl.org>
Sun, 21 Aug 2016 16:50:59 +0000
(12:50 -0400)
Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
crypto/jpake/jpake.c
patch
|
blob
|
history
diff --git
a/crypto/jpake/jpake.c
b/crypto/jpake/jpake.c
index 1815735325e6047b22472b4460c1491ddc90071b..2ba75f0172c1cf2ba3ac69bceba8d029abaf9a66 100644
(file)
--- a/
crypto/jpake/jpake.c
+++ b/
crypto/jpake/jpake.c
@@
-154,7
+154,7
@@
static void hashbn(SHA_CTX *sha, const BIGNUM *bn)
unsigned char *bin = OPENSSL_malloc(l);
if (bin == NULL)
- return
NULL
;
+ return;
hashlength(sha, l);
BN_bn2bin(bn, bin);
SHA1_Update(sha, bin, l);