diff options
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r-- | src/common/crypto.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c index 934679e67a..88a23f5b14 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -25,6 +25,8 @@ #define CRYPTO_PRIVATE #include "crypto.h" +#include "crypto_curve25519.h" +#include "crypto_ed25519.h" #if OPENSSL_VERSION_NUMBER < OPENSSL_V_SERIES(1,0,0) #error "We require OpenSSL >= 1.0.0" @@ -305,6 +307,9 @@ crypto_early_init(void) return -1; if (crypto_init_siphash_key() < 0) return -1; + + curve25519_init(); + ed25519_init(); } return 0; } |