This causes builds to fail on systems where OpenSSL is not available.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
---
src/lib/crypt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/crypt.c b/src/lib/crypt.c
index 1fa12bb..cda3cb4 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
}
--
2.29.2