SHA256
3
0
forked from pool/openssl
OBS User unknown 2007-01-10 16:54:25 +00:00 committed by Git OBS Bridge
parent 181a9b12af
commit 00a1bde5db
3 changed files with 42 additions and 3 deletions

View File

@ -0,0 +1,30 @@
# PadLock engine is never compiled as a shared object although
# OpenSSL sometimes thinks so. This patch fixes the
# initialization sequence so that it works with static PadLock
# again.
# Taken from Fedora Core 5
Index: openssl/crypto/engine/eng_all.c
===================================================================
--- openssl.orig/crypto/engine/eng_all.c
+++ openssl/crypto/engine/eng_all.c
@@ -68,6 +68,9 @@ void ENGINE_load_builtin_engines(void)
#if 0
ENGINE_load_openssl();
#endif
+#if !defined(OPENSSL_NO_HW) && !defined(OPENSSL_NO_HW_PADLOCK)
+ ENGINE_load_padlock();
+#endif
ENGINE_load_dynamic();
#ifndef OPENSSL_NO_STATIC_ENGINE
#ifndef OPENSSL_NO_HW
@@ -95,9 +98,6 @@ void ENGINE_load_builtin_engines(void)
#ifndef OPENSSL_NO_HW_UBSEC
ENGINE_load_ubsec();
#endif
-#ifndef OPENSSL_NO_HW_PADLOCK
- ENGINE_load_padlock();
-#endif
#endif
#if defined(__OpenBSD__) || defined(__FreeBSD__)
ENGINE_load_cryptodev();

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jan 9 14:30:28 CET 2007 - mkoenig@suse.de
- fix PadLock support [#230823]
-------------------------------------------------------------------
Thu Nov 30 14:33:51 CET 2006 - mkoenig@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package openssl (Version 0.9.8d)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@ -17,14 +17,14 @@ BuildRequires: bc ed zlib-devel
%endif
%define ssletcdir %{_sysconfdir}/ssl
%define num_version %(echo "%{version}" | sed -e "s+[a-zA-Z]++g; s+_.*++g")
License: BSD License and BSD-like, Other License(s), see package
License: BSD License and BSD-like
Group: Productivity/Networking/Security
Provides: ssl
Conflicts: ssleay
Obsoletes: ssleay
Autoreqprov: on
Version: 0.9.8d
Release: 17
Release: 22
Summary: Secure Sockets and Transport Layer Security
URL: http://www.openssl.org/
Source: http://www.%{name}.org/source/%{name}-%{version}.tar.bz2
@ -43,6 +43,7 @@ Patch11: openssl-s390-config.diff
Patch20: openssl-0.9.8a.ca-app-segfault.bug128655.dif
Patch21: bswap.diff
Patch22: openssl-CVE-2006-2940-fixup.patch
Patch23: openssl-0.9.8d-padlock-static.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -131,6 +132,7 @@ Authors:
%patch20 -p1
%patch21
%patch22
%patch23 -p1
cp -p %{S:10} .
cp -p %{S:20} certs/
cp -p %{S:21} certs/
@ -336,6 +338,8 @@ if ! test -f /.buildenv; then rm -rf $RPM_BUILD_ROOT; fi
%{_libdir}/engines
%changelog -n openssl
* Tue Jan 09 2007 - mkoenig@suse.de
- fix PadLock support [#230823]
* Thu Nov 30 2006 - mkoenig@suse.de
- enable fix for CVE-2006-2940 [#223040], SWAMP-ID 7198
* Mon Nov 06 2006 - poeml@suse.de