diff options
Diffstat (limited to 'crypto/ecdsa/ecdsa_test.c')
-rw-r--r-- | crypto/ecdsa/ecdsa_test.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/crypto/ecdsa/ecdsa_test.c b/crypto/ecdsa/ecdsa_test.c index 64480e3..e3b1142 100644 --- a/crypto/ecdsa/ecdsa_test.c +++ b/crypto/ecdsa/ecdsa_test.c @@ -54,6 +54,7 @@ #include <openssl/bio.h> #include <openssl/bn.h> +#include <openssl/crypto.h> #include <openssl/ec.h> #include <openssl/err.h> #include <openssl/mem.h> @@ -285,10 +286,11 @@ int main(void) { int ret = 1; BIO *out; - out = BIO_new_fp(stdout, BIO_NOCLOSE); - + CRYPTO_library_init(); ERR_load_crypto_strings(); + out = BIO_new_fp(stdout, BIO_NOCLOSE); + if (!test_builtin(out)) goto err; |