aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-09-27 22:51:02 -0400
committerIan Moffett <ian@osmora.org>2024-09-27 22:51:02 -0400
commit5af65277ef5998cdadab2f7a09e56b2d9d8353ab (patch)
treedd64c5205aca7baaa360bab4e2d86ea6d54b735c
parentd382f150dcd1a4317a62c5af2412bd304b3bfee7 (diff)
lib: crypto: Return 0 in free_session_key()
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r--lib/crypto/ecdh.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/crypto/ecdh.c b/lib/crypto/ecdh.c
index ab5d286..c881ca1 100644
--- a/lib/crypto/ecdh.c
+++ b/lib/crypto/ecdh.c
@@ -224,4 +224,5 @@ free_session_key(unsigned char *session_key)
{
munlock(session_key, KEY_SIZE);
free(session_key);
+ return 0;
}