From d345436f01e64dfe595783d13b45d6a341256e3e Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Wed, 9 Dec 2020 18:43:56 +0100 Subject: lib: Fix return value in function returning void This causes builds to fail on systems where OpenSSL is not available. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- src/lib/crypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/lib/crypt.c b/src/lib/crypt.c index 1fa12bb8..cda3cb46 100644 --- a/src/lib/crypt.c +++ b/src/lib/crypt.c @@ -376,7 +376,7 @@ static void crypt_dh_pkp_destroy(void * pkp) openssl_ecdh_pkp_destroy(pkp); #else (void) pkp; - return 0; + return; #endif } -- cgit v1.2.3