From 73c9755743a884f8093068e49bb376c95278a216 Mon Sep 17 00:00:00 2001 From: akallabeth Date: Thu, 20 Oct 2022 15:21:03 +0200 Subject: [PATCH] Added missing return in winpr_Digest_New (cherry picked from commit 0ea1957da5d574e2be0ad157aac397110377edf8) --- winpr/libwinpr/crypto/hash.c | 1 + 1 file changed, 1 insertion(+) diff --git a/winpr/libwinpr/crypto/hash.c b/winpr/libwinpr/crypto/hash.c index eb20cdfee..3f273efe4 100644 --- a/winpr/libwinpr/crypto/hash.c +++ b/winpr/libwinpr/crypto/hash.c @@ -434,6 +434,7 @@ WINPR_DIGEST_CTX* winpr_Digest_New(void) fail: winpr_Digest_Free(ctx); + return NULL; } #if defined(WITH_OPENSSL)