summaryrefslogtreecommitdiff
path: root/security/pev/files/patch-src_pesec.c
blob: f991bb6c745a52ed4442612aa04d7b4b56194113 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- src/pesec.c.orig	2018-10-20 11:48:33 UTC
+++ src/pesec.c
@@ -225,7 +225,9 @@ static int parse_pkcs7_data(const options_t *options, 
 	PKCS7 *p7 = NULL;
 	BIO *in = NULL;
 
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
 	CRYPTO_malloc_init();
+#endif
 	ERR_load_crypto_strings();
 	OpenSSL_add_all_algorithms();