From 71da19b050ba67c489b6c5f2543bf239c1947543 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Sun, 21 Aug 2016 12:50:05 -0400 Subject: [PATCH] Fix incorrect return argument. Reviewed-by: Dr. Stephen Henson --- crypto/jpake/jpake.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.25.1