fixed openssl patch
This commit is contained in:
parent
d3f21207e1
commit
7f55ce93de
@ -6,7 +6,7 @@ diff -up bacula-5.0.2/bacula-5.0.2/src/lib/crypto.c.openssl bacula-5.0.2/bacula-
|
||||
* exists. It was not an official API.
|
||||
*/
|
||||
-#ifdef HAVE_OPENSSLv1
|
||||
+#ifdef OPENSSL_VERSION_NUMBER >= 0x10000000L
|
||||
+#if (OPENSSL_VERSION_NUMBER >= 0x10000000L)
|
||||
#define EVP_PKEY_encrypt EVP_PKEY_encrypt_old
|
||||
#define EVP_PKEY_decrypt EVP_PKEY_decrypt_old
|
||||
#endif
|
||||
@ -18,7 +18,7 @@ diff -up bacula-5.0.2/bacula-5.0.2/src/lib/tls.c.openssl bacula-5.0.2/bacula-5.0
|
||||
|
||||
if (strcmp(extname, "subjectAltName") == 0) {
|
||||
-#ifdef HAVE_OPENSSLv1
|
||||
+#ifdef OPENSSL_VERSION_NUMBER >= 0x10000000L
|
||||
+#if (OPENSSL_VERSION_NUMBER >= 0x10000000L)
|
||||
const X509V3_EXT_METHOD *method;
|
||||
#else
|
||||
X509V3_EXT_METHOD *method;
|
||||
|
@ -8,7 +8,7 @@
|
||||
Summary: Cross platform network backup for Linux, Unix, Mac and Windows
|
||||
Name: bacula
|
||||
Version: 5.0.3
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
# See LICENSE for details
|
||||
License: GPLv2 with exceptions
|
||||
Group: System Environment/Daemons
|
||||
@ -1006,6 +1006,9 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Sep 23 2010 Jan Görig <jgorig@redhat.com> - 5.0.3-2
|
||||
- fixed openssl patch, thanks to Enrico Scholz
|
||||
|
||||
* Tue Aug 10 2010 Jon Ciesla <limb@jcomserv.net> - 5.0.3-1
|
||||
- New upstream.
|
||||
- DSOlink fix for same.
|
||||
|
Loading…
Reference in New Issue
Block a user