summaryrefslogtreecommitdiff
path: root/crypto/dsa/dsa_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/dsa/dsa_test.c')
-rw-r--r--crypto/dsa/dsa_test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/dsa/dsa_test.c b/crypto/dsa/dsa_test.c
index 8841c12..1edb7e7 100644
--- a/crypto/dsa/dsa_test.c
+++ b/crypto/dsa/dsa_test.c
@@ -61,6 +61,7 @@
#include <openssl/bio.h>
#include <openssl/bn.h>
+#include <openssl/crypto.h>
#include "internal.h"
@@ -107,6 +108,8 @@ int main(int argc, char **argv) {
unsigned char sig[256];
unsigned int siglen;
+ CRYPTO_library_init();
+
bio_err = BIO_new_fp(stderr, BIO_NOCLOSE);
bio_out = BIO_new_fp(stdout, BIO_NOCLOSE);