diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:12:15 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:12:15 +0100 |
commit | 3f7826d8856457be233edea5999a25e374f54625 (patch) | |
tree | 7b49d251a79cf55d5e29ceb9af99308b5f037628 /backup/bacula/files/5.2.3/bacula-5.2.3-openssl-1.patch | |
parent | 6deea6f9112b20068bdb8e82f049e28508efac83 (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'backup/bacula/files/5.2.3/bacula-5.2.3-openssl-1.patch')
-rw-r--r-- | backup/bacula/files/5.2.3/bacula-5.2.3-openssl-1.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/backup/bacula/files/5.2.3/bacula-5.2.3-openssl-1.patch b/backup/bacula/files/5.2.3/bacula-5.2.3-openssl-1.patch new file mode 100644 index 000000000000..58d26316ca7d --- /dev/null +++ b/backup/bacula/files/5.2.3/bacula-5.2.3-openssl-1.patch @@ -0,0 +1,25 @@ +http://bugs.gentoo.org/328701 +http://cvs.fedoraproject.org/viewvc/rpms/bacula/devel/bacula-5.0.2-openssl.patch?revision=1.3&view=markup + +--- src/lib/crypto.c ++++ src/lib/crypto.c +@@ -51,7 +51,7 @@ + * For OpenSSL version 1.x, EVP_PKEY_encrypt no longer + * exists. It was not an official API. + */ +-#ifdef HAVE_OPENSSLv1 ++#if (OPENSSL_VERSION_NUMBER >= 0x10000000L) + #define EVP_PKEY_encrypt EVP_PKEY_encrypt_old + #define EVP_PKEY_decrypt EVP_PKEY_decrypt_old + #endif +--- src/lib/tls.c ++++ src/lib/tls.c +@@ -315,7 +315,7 @@ bool tls_postconnect_verify_host(JCR *jc + extname = OBJ_nid2sn(OBJ_obj2nid(X509_EXTENSION_get_object(ext))); + + if (strcmp(extname, "subjectAltName") == 0) { +-#ifdef HAVE_OPENSSLv1 ++#if (OPENSSL_VERSION_NUMBER >= 0x10000000L) + const X509V3_EXT_METHOD *method; + #else + X509V3_EXT_METHOD *method; |