forked from pool/openssl
This commit is contained in:
parent
00a1bde5db
commit
5c38772ce8
14
bswap.diff
14
bswap.diff
@ -1,11 +1,13 @@
|
|||||||
--- crypto/camellia/cmll_locl.h
|
Index: crypto/camellia/cmll_locl.h
|
||||||
|
===================================================================
|
||||||
|
--- crypto/camellia/cmll_locl.h.orig
|
||||||
+++ crypto/camellia/cmll_locl.h
|
+++ crypto/camellia/cmll_locl.h
|
||||||
@@ -107,7 +107,7 @@
|
@@ -97,7 +97,7 @@ extern "C" {
|
||||||
(ct)[3] = (uint8_t)(st); }
|
(ct)[2] = (u8)((st) >> 8); \
|
||||||
|
(ct)[3] = (u8)(st); }
|
||||||
|
|
||||||
#ifdef L_ENDIAN
|
-#if (defined (__GNUC__) && (defined(__x86_64__) || defined(__x86_64)))
|
||||||
-#if (defined (__GNUC__) && !defined(i386))
|
+#if (defined (__GNUC__) && (defined(__x86_64__) || defined(__x86_64) || defined(i386)))
|
||||||
+#if (defined (__GNUC__) && defined(i386))
|
|
||||||
#define CAMELLIA_SWAP4(x) \
|
#define CAMELLIA_SWAP4(x) \
|
||||||
do{\
|
do{\
|
||||||
asm("bswap %1" : "+r" (x));\
|
asm("bswap %1" : "+r" (x));\
|
||||||
|
@ -1,30 +0,0 @@
|
|||||||
# 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();
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:9c517f6d682b6fc0364738700b4691369580e04db65317a842fa779a1cda4cf8
|
|
||||||
size 2655970
|
|
3
openssl-0.9.8e.tar.bz2
Normal file
3
openssl-0.9.8e.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:32b684e086d72446d22b7801cf52a14f183412be3403f5038b3d61cfb619eb62
|
||||||
|
size 2675965
|
@ -1,18 +0,0 @@
|
|||||||
Fix for the CVE-2006-2940 fix
|
|
||||||
|
|
||||||
The newly introduced limit on DH modulus size could lead to a crash when
|
|
||||||
exerted.
|
|
||||||
This was fixed after the 0.9.8d release in the OpenSSL CVS:
|
|
||||||
http://cvs.openssl.org/chngview?cn=15607
|
|
||||||
|
|
||||||
--- crypto/dh/dh_key.c 2005-08-20 20:35:53.000000000 +0200
|
|
||||||
+++ crypto/dh/dh_key.c 2006-10-04 13:25:02.000000000 +0200
|
|
||||||
@@ -173,7 +173,7 @@
|
|
||||||
|
|
||||||
static int compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh)
|
|
||||||
{
|
|
||||||
- BN_CTX *ctx;
|
|
||||||
+ BN_CTX *ctx=NULL;
|
|
||||||
BN_MONT_CTX *mont=NULL;
|
|
||||||
BIGNUM *tmp;
|
|
||||||
int ret= -1;
|
|
@ -1,9 +1,9 @@
|
|||||||
--- config
|
--- config
|
||||||
+++ config 2006/01/16 10:33:01
|
+++ config 2006/01/16 10:33:01
|
||||||
@@ -591,7 +591,8 @@
|
@@ -591,7 +591,8 @@
|
||||||
OUT="linux-generic32" ;;
|
sh*b-*-linux2) OUT="linux-generic32"; options="$options -DB_ENDIAN" ;;
|
||||||
arm*b-*-linux2) OUT="linux-generic32"; options="$options -DB_ENDIAN" ;;
|
sh*-*-linux2) OUT="linux-generic32"; options="$options -DL_ENDIAN" ;;
|
||||||
arm*l-*-linux2) OUT="linux-generic32"; options="$options -DL_ENDIAN" ;;
|
m68k*-*-linux2) OUT="linux-generic32"; options="$options -DB_ENDIAN" ;;
|
||||||
- s390*-*-linux2) OUT="linux-generic32"; options="$options -DB_ENDIAN -DNO_ASM" ;;
|
- s390*-*-linux2) OUT="linux-generic32"; options="$options -DB_ENDIAN -DNO_ASM" ;;
|
||||||
+ s390-*-linux2) OUT="linux-s390"; options="$options -DB_ENDIAN -DNO_ASM" ;;
|
+ s390-*-linux2) OUT="linux-s390"; options="$options -DB_ENDIAN -DNO_ASM" ;;
|
||||||
+ s390x-*-linux2) OUT="linux-s390x"; options="$options -DB_ENDIAN -DNO_ASM" ;;
|
+ s390x-*-linux2) OUT="linux-s390x"; options="$options -DB_ENDIAN -DNO_ASM" ;;
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 6 10:38:10 CET 2007 - mkoenig@suse.de
|
||||||
|
|
||||||
|
- update to version 0.9.8e:
|
||||||
|
* patches merged upstream:
|
||||||
|
openssl-CVE-2006-2940-fixup.patch
|
||||||
|
openssl-0.9.8d-padlock-static.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 9 14:30:28 CET 2007 - mkoenig@suse.de
|
Tue Jan 9 14:30:28 CET 2007 - mkoenig@suse.de
|
||||||
|
|
||||||
|
17
openssl.spec
17
openssl.spec
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package openssl (Version 0.9.8d)
|
# spec file for package openssl (Version 0.9.8e)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2007 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
|
# This file and all modifications and additions to the pristine
|
||||||
@ -23,8 +23,8 @@ Provides: ssl
|
|||||||
Conflicts: ssleay
|
Conflicts: ssleay
|
||||||
Obsoletes: ssleay
|
Obsoletes: ssleay
|
||||||
Autoreqprov: on
|
Autoreqprov: on
|
||||||
Version: 0.9.8d
|
Version: 0.9.8e
|
||||||
Release: 22
|
Release: 1
|
||||||
Summary: Secure Sockets and Transport Layer Security
|
Summary: Secure Sockets and Transport Layer Security
|
||||||
URL: http://www.openssl.org/
|
URL: http://www.openssl.org/
|
||||||
Source: http://www.%{name}.org/source/%{name}-%{version}.tar.bz2
|
Source: http://www.%{name}.org/source/%{name}-%{version}.tar.bz2
|
||||||
@ -42,8 +42,6 @@ Patch9: openssl-0.9.6g-alpha.diff
|
|||||||
Patch11: openssl-s390-config.diff
|
Patch11: openssl-s390-config.diff
|
||||||
Patch20: openssl-0.9.8a.ca-app-segfault.bug128655.dif
|
Patch20: openssl-0.9.8a.ca-app-segfault.bug128655.dif
|
||||||
Patch21: bswap.diff
|
Patch21: bswap.diff
|
||||||
Patch22: openssl-CVE-2006-2940-fixup.patch
|
|
||||||
Patch23: openssl-0.9.8d-padlock-static.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -131,8 +129,6 @@ Authors:
|
|||||||
%patch11
|
%patch11
|
||||||
%patch20 -p1
|
%patch20 -p1
|
||||||
%patch21
|
%patch21
|
||||||
%patch22
|
|
||||||
%patch23 -p1
|
|
||||||
cp -p %{S:10} .
|
cp -p %{S:10} .
|
||||||
cp -p %{S:20} certs/
|
cp -p %{S:20} certs/
|
||||||
cp -p %{S:21} certs/
|
cp -p %{S:21} certs/
|
||||||
@ -337,7 +333,12 @@ if ! test -f /.buildenv; then rm -rf $RPM_BUILD_ROOT; fi
|
|||||||
%{_libdir}/libcrypto.so.%{num_version}
|
%{_libdir}/libcrypto.so.%{num_version}
|
||||||
%{_libdir}/engines
|
%{_libdir}/engines
|
||||||
|
|
||||||
%changelog -n openssl
|
%changelog
|
||||||
|
* Tue Mar 06 2007 - mkoenig@suse.de
|
||||||
|
- update to version 0.9.8e:
|
||||||
|
* patches merged upstream:
|
||||||
|
openssl-CVE-2006-2940-fixup.patch
|
||||||
|
openssl-0.9.8d-padlock-static.patch
|
||||||
* Tue Jan 09 2007 - mkoenig@suse.de
|
* Tue Jan 09 2007 - mkoenig@suse.de
|
||||||
- fix PadLock support [#230823]
|
- fix PadLock support [#230823]
|
||||||
* Thu Nov 30 2006 - mkoenig@suse.de
|
* Thu Nov 30 2006 - mkoenig@suse.de
|
||||||
|
Loading…
Reference in New Issue
Block a user