]> git.meshlink.io Git - meshlink/blobdiff - src/openssl/crypto.c
Count the number of correctly received UDP packets.
[meshlink] / src / openssl / crypto.c
index 835e8087bb8a34dc234f1ed68023d87a3e546a75..c695be8875ca64d2e39f5fa5dfa6cfe6aaa8791f 100644 (file)
 
 #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();
 }