summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2020-12-09 18:43:56 +0100
committerSander Vrijders <sander@ouroboros.rocks>2020-12-12 11:37:50 +0100
commitd345436f01e64dfe595783d13b45d6a341256e3e (patch)
treedd495ba0a82e9a854e1f3b54a3fe773313246c5f
parentbb7476246e2f0bd974aec854de975cefec858362 (diff)
downloadouroboros-d345436f01e64dfe595783d13b45d6a341256e3e.zip
ouroboros-d345436f01e64dfe595783d13b45d6a341256e3e.tar.gz
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 <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
-rw-r--r--src/lib/crypt.c2
1 files changed, 1 insertions, 1 deletions
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
}