From: Rich Salz Date: Sun, 21 Aug 2016 16:50:05 +0000 (-0400) Subject: Fix incorrect return argument. X-Git-Tag: OpenSSL_1_0_2i~67 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=71da19b050ba67c489b6c5f2543bf239c1947543;p=oweals%2Fopenssl.git Fix incorrect return argument. Reviewed-by: Dr. Stephen Henson --- 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);