X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fopenssl%2Fcrypto.c;h=c695be8875ca64d2e39f5fa5dfa6cfe6aaa8791f;hp=835e8087bb8a34dc234f1ed68023d87a3e546a75;hb=d917c8cb6b69475d568ccbe82389b9f2b3eb5e80;hpb=761517c21c37a808a19b487aa116c3c19439feca diff --git a/src/openssl/crypto.c b/src/openssl/crypto.c index 835e8087..c695be88 100644 --- a/src/openssl/crypto.c +++ b/src/openssl/crypto.c @@ -25,16 +25,16 @@ #include "crypto.h" -void crypto_init() { - RAND_load_file("/dev/urandom", 1024); +void crypto_init(void) { + RAND_load_file("/dev/urandom", 1024); - ENGINE_load_builtin_engines(); - ENGINE_register_all_complete(); + ENGINE_load_builtin_engines(); + ENGINE_register_all_complete(); - OpenSSL_add_all_algorithms(); + OpenSSL_add_all_algorithms(); } -void crypto_exit() { +void crypto_exit(void) { EVP_cleanup(); }