Skip to content

Commit

Permalink
[knet] fix build with older openssl versions
Browse files Browse the repository at this point in the history
spotted on freebsd-devel

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  • Loading branch information
fabbione committed Dec 18, 2018
1 parent 94483ff commit 453a928
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libknet/crypto_openssl.c
Expand Up @@ -458,7 +458,7 @@ static int openssl_internal_lock_setup(void)
}
}

CRYPTO_set_id_callback((unsigned long (*)(void))openssl_internal_thread_id);
CRYPTO_set_id_callback((void *)openssl_internal_thread_id);
CRYPTO_set_locking_callback((void *)&openssl_internal_locking_callback);

out:
Expand Down

0 comments on commit 453a928

Please sign in to comment.