aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/jpake/jpake.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2016-08-21 12:50:05 -0400
committerRich Salz <rsalz@openssl.org>2016-08-21 12:50:59 -0400
commit71da19b050ba67c489b6c5f2543bf239c1947543 (patch)
tree7e4c00349d32aa0bc372a7159d271ce756fca9ef /crypto/jpake/jpake.c
parent061d6c25ba7cb0524756a872e92da1de2d494d68 (diff)
downloadopenssl-71da19b050ba67c489b6c5f2543bf239c1947543.tar.gz
Fix incorrect return argument.
Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
Diffstat (limited to 'crypto/jpake/jpake.c')
-rw-r--r--crypto/jpake/jpake.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/jpake/jpake.c b/crypto/jpake/jpake.c
index 1815735325..2ba75f0172 100644
--- 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);