forked from pool/openssl
Accepting request 78686 from Base:System
- Add upstream patch that calls ENGINE_register_all_complete() in ENGINE_load_builtin_engines() saving us from adding dozens of calls to such function to calling applications. (forwarded request 78169 from elvigia) OBS-URL: https://build.opensuse.org/request/show/78686 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openssl?expand=0&rev=65
This commit is contained in:
parent
4843e122d8
commit
f071498cb4
24
openssl-call-engine-reg-comp.patch
Normal file
24
openssl-call-engine-reg-comp.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
Add call to ENGINE_register_all_complete() to ENGINE_load_builtin_engines(), this means that some implementations will be used automatically, e.g. aesni,
|
||||||
|
Setup cpuid in ENGINE_load_builtin_engines() too as some ENGINEs use it.
|
||||||
|
Origin: UPSTREAM
|
||||||
|
URL: http://cvs.openssl.org/chngview?cn=19781
|
||||||
|
|
||||||
|
--- crypto/engine/eng_all.c.orig
|
||||||
|
+++ crypto/engine/eng_all.c
|
||||||
|
@@ -61,6 +61,8 @@
|
||||||
|
|
||||||
|
void ENGINE_load_builtin_engines(void)
|
||||||
|
{
|
||||||
|
+ /* Some ENGINEs need this */
|
||||||
|
+ OPENSSL_cpuid_setup();
|
||||||
|
#if 0
|
||||||
|
/* There's no longer any need for an "openssl" ENGINE unless, one day,
|
||||||
|
* it is the *only* way for standard builtin implementations to be be
|
||||||
|
@@ -115,6 +117,7 @@ void ENGINE_load_builtin_engines(void)
|
||||||
|
ENGINE_load_capi();
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
+ ENGINE_register_all_complete();
|
||||||
|
}
|
||||||
|
|
||||||
|
#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(HAVE_CRYPTODEV)
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Aug 6 00:33:47 UTC 2011 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
- Add upstream patch that calls ENGINE_register_all_complete()
|
||||||
|
in ENGINE_load_builtin_engines() saving us from adding dozens
|
||||||
|
of calls to such function to calling applications.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Aug 5 19:09:42 UTC 2011 - crrodriguez@opensuse.org
|
Fri Aug 5 19:09:42 UTC 2011 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
@ -51,6 +51,7 @@ Patch2: bug610223.patch
|
|||||||
Patch7: openssl-1.0.0b-aesni.patch
|
Patch7: openssl-1.0.0b-aesni.patch
|
||||||
#Patch8: CVE-2011-0014.patch
|
#Patch8: CVE-2011-0014.patch
|
||||||
Patch9: ECDSA_signatures_timing_attack.patch
|
Patch9: ECDSA_signatures_timing_attack.patch
|
||||||
|
Patch10: openssl-call-engine-reg-comp.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -188,6 +189,7 @@ Authors:
|
|||||||
%patch7 -p1
|
%patch7 -p1
|
||||||
#%patch8 -p1
|
#%patch8 -p1
|
||||||
%patch9 -p1
|
%patch9 -p1
|
||||||
|
%patch10
|
||||||
cp -p %{S:10} .
|
cp -p %{S:10} .
|
||||||
echo "adding/overwriting some entries in the 'table' hash in Configure"
|
echo "adding/overwriting some entries in the 'table' hash in Configure"
|
||||||
# $dso_scheme:$shared_target:$shared_cflag:$shared_ldflag:$shared_extension:$ranlib:$arflags
|
# $dso_scheme:$shared_target:$shared_cflag:$shared_ldflag:$shared_extension:$ranlib:$arflags
|
||||||
|
Loading…
Reference in New Issue
Block a user