diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2020-12-09 18:43:56 +0100 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2020-12-12 11:37:50 +0100 |
commit | d345436f01e64dfe595783d13b45d6a341256e3e (patch) | |
tree | dd495ba0a82e9a854e1f3b54a3fe773313246c5f /src | |
parent | bb7476246e2f0bd974aec854de975cefec858362 (diff) | |
download | ouroboros-d345436f01e64dfe595783d13b45d6a341256e3e.tar.gz ouroboros-d345436f01e64dfe595783d13b45d6a341256e3e.zip |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/crypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |