Fix incorrect return argument.
authorRich Salz <rsalz@openssl.org>
Sun, 21 Aug 2016 16:50:05 +0000 (12:50 -0400)
committerRich 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

index 1815735325e6047b22472b4460c1491ddc90071b..2ba75f0172c1cf2ba3ac69bceba8d029abaf9a66 100644 (file)
@@ -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);