diff options
author | Rich Salz <rsalz@openssl.org> | 2016-08-21 12:50:05 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-08-21 12:50:59 -0400 |
commit | 71da19b050ba67c489b6c5f2543bf239c1947543 (patch) | |
tree | 7e4c00349d32aa0bc372a7159d271ce756fca9ef /crypto/jpake | |
parent | 061d6c25ba7cb0524756a872e92da1de2d494d68 (diff) |
Fix incorrect return argument.
Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
Diffstat (limited to 'crypto/jpake')
-rw-r--r-- | crypto/jpake/jpake.c | 2 |
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); |