diff options
Diffstat (limited to 'crypto/cipher/cipher_test.c')
-rw-r--r-- | crypto/cipher/cipher_test.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crypto/cipher/cipher_test.c b/crypto/cipher/cipher_test.c index 3dadb8a..b91b505 100644 --- a/crypto/cipher/cipher_test.c +++ b/crypto/cipher/cipher_test.c @@ -56,9 +56,10 @@ #include <stdio.h> +#include <openssl/bio.h> #include <openssl/cipher.h> +#include <openssl/crypto.h> #include <openssl/err.h> -#include <openssl/bio.h> static void hexdump(FILE *f, const char *title, const uint8_t *s, int l) { @@ -331,6 +332,8 @@ int main(int argc, char **argv) { const char *input_file; FILE *f; + CRYPTO_library_init(); + if (argc != 2) { fprintf(stderr, "%s <test file>\n", argv[0]); return 1; |