Changelog for libopenssl1_0_0-1.0.2j-16.1.x86_64.rpm :
Fri Dec 8 13:00:00 2017
- OpenSSL Security Advisory [07 Dec 2017]

* Read/write after SSL object in error state
(CVE-2017-3737, bsc#1071905)

* rsaz_1024_mul_avx2 overflow bug on x86_64
(CVE-2017-3738, bsc#1071906)
- added patches:

* openssl-CVE-2017-3737.patch

* openssl-CVE-2017-3738.patch

Fri Nov 3 13:00:00 2017
- OpenSSL Security Advisory [02 Nov 2017]

* CVE-2017-3736 (bsc#1066242)
- bn_sqrx8x_internal carry bug on x86_64

* add openssl-CVE-2017-3736.patch
- OpenSSL Security Advisory [28 Aug 2017]

* CVE-2017-3735 (bsc#1056058)
- Malformed X.509 IPAdressFamily could cause OOB read()

* add openssl-CVE-2017-3735.patch
- fix crash in DES (bsc#1065363)

* add openssl-fix_crash_in_DES.patch

Thu Aug 31 14:00:00 2017
- Add ECDSA ciphers to DEFAULT_SUSE cipher list (bsc#1055825)

* modified openssl-1.0.1e-add-suse-default-cipher.patch

* modified openssl-1.0.1e-add-test-suse-default-cipher-suite.patch

Mon Jul 17 14:00:00 2017
- use blocking getrandom syscall only from fips_drbg_bytes() to avoid
stalls on low entropy (bsc#1044175)
- refresh patches:

* openssl-fips_entropy_reseeding.patch

* openssl-fipslocking.patch

Tue Jun 20 14:00:00 2017
- Don\'t run FIPS power-up self-tests when the checksum files aren\'t
installed (bsc#1042392)

* add openssl-fips-run_selftests_only_when_module_is_complete.patch

Mon Jun 19 14:00:00 2017
- remove DES-CBC3-SHA based ciphers from DEFAULT_SUSE (bsc#1027908)

* update patches:

Tue May 9 14:00:00 2017
- FIPS CAVS: Add AES keywrap (KWVS) test tool (bsc#1044095)

* add openssl-fips_cavs_aes_keywrap.patch

Thu May 4 14:00:00 2017
- Use getrandom syscall instead of reading from /dev/urandom to get
at least 128 bits of entropy to comply with FIPS 140.2 IG 7.14

* merge openssl-urandom-reseeding.patch into new
openssl-fips_entropy_reseeding.patch (bsc#1027079)

Thu May 4 14:00:00 2017
- Fix CAVS testing padding issue with RSA d values (bsc#1044107)

* add openssl-fips_cavs_pad_with_zeroes.patch from Pedro Monreal

Fri Apr 7 14:00:00 2017
- FIPS CAVS: allow fips_
* tools to run in FIPS mode (bnc#902364)

* added openssl-fips_cavs_helpers_run_in_fips_mode.patch

Tue Mar 28 14:00:00 2017
- Fix x86 extended feature detection (bsc#1029523)

* add openssl-x86_extended_feature_detection.patch

Tue Mar 28 14:00:00 2017
- Allow runtime switching of s390x capabilities via OPENSSL_s390xcap
environmental variable (bsc#1028723)

* add openssl-fips-OPENSSL_s390xcap.patch

Fri Mar 17 13:00:00 2017
- package FIPS CAVS testing tools (bsc#1027688)

* add openssl-fips_add_cavs_tests.patch

Thu Mar 16 13:00:00 2017
- s_client sent empty client certificate (bsc#1028281)
Add back certificate initialization set_cert_key_stuff()
which was removed by openssl-1.0.2a-default-paths.patch

* modified openssl-1.0.2a-default-paths.patch

Fri Feb 17 13:00:00 2017
- Fix a bug in openssl-fips-xts_nonidentical_key_parts.patch

Thu Jan 26 13:00:00 2017
- OpenSSL Security Advisory [26 Jan 2017] (bsc#1021641)

* Truncated packet could crash via OOB read (CVE-2017-3731) (bsc#1022085)

* BN_mod_exp may produce incorrect results on x86_64 (CVE-2017-3732)

* Montgomery multiplication may produce incorrect results (CVE-2016-7055)
- degrade 3DES to MEDIUM in SSL2 (bsc#1001912)
- fix crash in openssl speed (bsc#1000677)
- added patches:

* openssl-CVE-2016-7055.patch

* openssl-CVE-2017-3731.patch

* openssl-CVE-2017-3732.patch

* openssl-fix_crash_in_openssl_speed.patch

* openssl-degrade_3DES_to_MEDIUM_in_SSL2.patch
- fix X509_CERT_FILE path (bsc#1022271)

* updated openssl-1.0.1e-truststore.diff
- AES XTS key parts must not be identical in FIPS mode (bsc#1019637)

* add openssl-fips-xts_nonidentical_key_parts.patch

Fri Oct 7 14:00:00 2016
- temporarily revert upstream commit fd7ca7465b67336b8950a505b6d2adee867a78f7
because it breaks libcamgm (bsc#1002585)

* 0001-Make-openssl-req-x509-more-equivalent-to-openssl-req.patch

Tue Sep 27 14:00:00 2016
- resume reading from /dev/urandom when interrupted by a signal

* add openssl-randfile_fread_interrupt.patch
- fix crash in print_notice (bsc#998190)

* add openssl-print_notice-NULL_crash.patch

Tue Sep 27 14:00:00 2016
- update to 1.0.2j
- OpenSSL Security Advisory [26 Sep 2016]
Severity: Moderate

* Missing CRL sanity check (CVE-2016-7052) (bsc#1001148)

* A bug fix which included a CRL sanity check was added to OpenSSL 1.1.0
but was omitted from OpenSSL 1.0.2i. As a result any attempt to use
CRLs in OpenSSL 1.0.2i will crash with a null pointer exception.

Fri Sep 23 14:00:00 2016
- OpenSSL Security Advisory [22 Sep 2016] (bsc#999665)
Severity: High

* OCSP Status Request extension unbounded memory growth
(CVE-2016-6304) (bsc#999666)
Severity: Low

* Pointer arithmetic undefined behaviour (CVE-2016-2177) (bsc#982575)

* Constant time flag not preserved in DSA signing (CVE-2016-2178) (bsc#983249)

* DTLS buffered message DoS (CVE-2016-2179) (bsc#994844)

* OOB read in TS_OBJ_print_bio() (CVE-2016-2180) (bsc#990419)

* DTLS replay protection DoS (CVE-2016-2181) (bsc#994749)

* OOB write in BN_bn2dec() (CVE-2016-2182) (bsc#993819)

* Birthday attack against 64-bit block ciphers (SWEET32)
(CVE-2016-2183) (bsc#995359)

* Malformed SHA512 ticket DoS (CVE-2016-6302) (bsc#995324)

* OOB write in MDC2_Update() (CVE-2016-6303) (bsc#995377)

* Certificate message OOB reads (CVE-2016-6306) (bsc#999668)
- update to openssl-1.0.2i

* drop patches:

* add patches:

* refresh patches:

Tue Aug 30 14:00:00 2016
- Fix a regression caused by openssl-CVE-2016-2182-2.patch (bsc#995959)

* add openssl-CVE-2016-2182-3.patch

Thu Aug 25 14:00:00 2016
- security update

* CVE-2016-2177: Avoid some undefined pointer arithmetic (bsc#982575)

* CVE-2016-2178: Fix DSA, preserve BN_FLG_CONSTTIME (bsc#983249)

* CVE-2016-2179: remote denial of service via DTLS Finished Message (bsc#994844)

* CVE-2016-2180: OOB read in TS_OBJ_print_bio() (bsc#990419)

* CVE-2016-2181: Fix DTLS replay protection (bsc#994749)

* CVE-2016-2182: Check for errors in BN_bn2dec() (bsc#993819)

* CVE-2016-2183: Birthday attacks on 64-bit block ciphers aka triple-des
(SWEET32) (bsc#995359)

* CVE-2016-6302: Sanity check ticket length. (bsc#995324)

* CVE-2016-6303: Avoid overflow in MDC2_Update (bsc#995377)
- added patches:

* openssl-CVE-2016-2177.patch

* openssl-CVE-2016-2178-2.patch

* openssl-CVE-2016-2178.patch

* openssl-CVE-2016-2179-2.patch

* openssl-CVE-2016-2179.patch

* openssl-CVE-2016-2180.patch

* openssl-CVE-2016-2181-2.patch

* openssl-CVE-2016-2181-3.patch

* openssl-CVE-2016-2181.patch

* openssl-CVE-2016-2182-2.patch

* openssl-CVE-2016-2182.patch

* openssl-CVE-2016-2183-SWEET32.patch

* openssl-CVE-2016-6302.patch

* openssl-CVE-2016-6303.patch

Thu Aug 4 14:00:00 2016
- fix problems with locking in FIPS mode (bsc#992120)

* duplicates: bsc#991877, bsc#991193, bsc#990392, bsc#990428
and bsc#990207

* bring back openssl-fipslocking.patch

Thu Jul 14 14:00:00 2016
- drop openssl-fips_RSA_compute_d_with_lcm.patch (upstream)

Thu Jul 7 14:00:00 2016
- don\'t check for /etc/system-fips (bsc#982268)

* add openssl-fips-dont_run_FIPS_module_installed.patch
- list the correct hmac key in spec comment (bsc#985054)

Tue May 3 14:00:00 2016
- OpenSSL Security Advisory [3rd May 2016]
- update to 1.0.2h (boo#977584, boo#977663)

* Prevent padding oracle in AES-NI CBC MAC check
A MITM attacker can use a padding oracle attack to decrypt traffic
when the connection uses an AES CBC cipher and the server support
(CVE-2016-2107, boo#977616)

* Fix EVP_EncodeUpdate overflow
An overflow can occur in the EVP_EncodeUpdate() function which is used for
Base64 encoding of binary data. If an attacker is able to supply very large
amounts of input data then a length check can overflow resulting in a heap
(CVE-2016-2105, boo#977614)

* Fix EVP_EncryptUpdate overflow
An overflow can occur in the EVP_EncryptUpdate() function. If an attacker
is able to supply very large amounts of input data after a previous call to
EVP_EncryptUpdate() with a partial block then a length check can overflow
resulting in a heap corruption.
(CVE-2016-2106, boo#977615)

* Prevent ASN.1 BIO excessive memory allocation
When ASN.1 data is read from a BIO using functions such as d2i_CMS_bio()
a short invalid encoding can casuse allocation of large amounts of memory
potentially consuming excessive resources or exhausting memory.
(CVE-2016-2109, boo#976942)

* EBCDIC overread
ASN1 Strings that are over 1024 bytes can cause an overread in applications
using the X509_NAME_oneline() function on EBCDIC systems. This could result
in arbitrary stack data being returned in the buffer.
(CVE-2016-2176, boo#978224)

* Modify behavior of ALPN to invoke callback after SNI/servername
callback, such that updates to the SSL_CTX affect ALPN.

* Remove LOW from the DEFAULT cipher list. This removes singles DES from the

* Only remove the SSLv2 methods with the no-ssl2-method option. When the
methods are enabled and ssl2 is disabled the methods return NULL.
- dropping enable-ssl2 build flag, SSLv2 methods are now exposed without it

Fri Apr 15 14:00:00 2016
- update to 1.0.2g (fate#317043)
Major changes since 1.0.1:
EXPORT and LOW strength ciphers aren\'t provided
Suite B support for TLS 1.2 and DTLS 1.2
Support for DTLS 1.2
TLS automatic EC curve selection.
API to set TLS supported signature algorithms and curves
SSL_CONF configuration API.
TLS Brainpool support.
ALPN support.
CMS support for RSA-PSS, RSA-OAEP, ECDH and X9.42 DH.

* dropped many patches as they are included upstream
(all security fixes, s390x performance improvements, ppc64le
build, POWER8 VMX crypto acceleration)

* build with enable-ssl2 to provide SSLv2_method but only allow
SSL2 when OPENSSL_ALLOW_SSL2 environment variable is set

Thu Feb 25 13:00:00 2016
- Fix CVE-2016-0702 (bnc#968050, \"Cache Bleed\"). The patch
\"openssl-CVE-2016-0702-openssl101.patch\" prevents side channel
attacks on modular exponentiation that attempted to recover RSA
secret keys by analyzing cache-bank conflicts on the Intel
Sandy-Bridge microarchitecture. The ability to exploit this issue
was limited, however, as it required the attacker to have control
of code running in a thread on the same hyper-threaded core as the
victim thread which was performing decryptions.
- Fix CVE-2016-0705 (bnc#968047) via \"openssl-CVE-2016-0705.patch\".
This issue allowed attackers with the ability to load malformed
DSA private keys into applications based on OpenSSL to trigger a
double free() bug in OpenSSL\'s parser code. That scenario could be
abused to facilitate a denial-of-service attack.
- Fix CVE-2016-0797 (bnc#968048) via \"openssl-CVE-2016-0797.patch\".
The BN_hex2bn() and BN_dec2bn() functions had a bug that could
result in an attempt to de-reference a NULL pointer. This could
have security consequences if these functions were ever called by
user applications with large untrusted hex/decimal data. Also,
internal usage of these functions in OpenSSL uses data from config
files or application command line arguments. If user developed
applications generated config file data based on untrusted data,
then this could have had security consequences as well.
- Fix CVE-2016-0800 (bnc#968046, \"Drown\"). OpenSSL used to be
vulnerable to a cross-protocol attack that could lead to
decryption of TLS sessions by using a server supporting SSLv2 and
EXPORT cipher suites as a Bleichenbacher RSA padding oracle. The
patch \"openssl-CVE-2016-0800-DROWN-disable-ssl2.patch\" remedies
this issue by disabling the SSLv2 protocol (unless the environment
variable $OPENSSL_ALLOW_SSL2 is defined) and all weak EXPORT
ciphers (unless $OPENSSL_ALLOW_EXPORT is defined).
- The PGP signature \"openssl-1.0.1i.tar.gz.asc\" of the OpenSSL
release tarball was removed because the key that issued it uses
insecure signature algorithms and can no longer be considered
safe, i.e. having the signature around does not improve security.
- Add patch \"openssl-fips-dont-fall-back-to-default-digest.patch\" to
ensure that OpenSSL doesn\'t fall back to the default digest
algorithm (SHA1) in case a non-FIPS algorithm was negotiated while
running in FIPS mode. Instead, OpenSSL will refuse the session.
- Fix CVE-2016-0798 via \"openssl-CVE-2016-0798-101.patch\". The SRP
user database lookup method SRP_VBASE_get_by_user() had a memory
leak that attackers could abuse to facility DoS attacks. To
mitigate the issue, the seed handling in SRP_VBASE_get_by_user()
was disabled even if the user has configured a seed. Applications
are advised to migrate to SRP_VBASE_get1_by_user(). (bnc#968265)
- Fix CVE-2016-0799 (bnc#968374) via \"openssl-CVE-2016-0799.patch\".
On many 64 bit systems, the internal fmtstr() and doapr_outch()
functions could miscalculate the length of a string and attempt to
access out-of-bounds memory locations. These problems could have
enabled attacks where large amounts of untrusted data is passed to
the BIO_
*printf functions. If applications use these functions in
this way then they could have been vulnerable. OpenSSL itself uses
these functions when printing out human-readable dumps of ASN.1
data. Therefore applications that print this data could have been
vulnerable if the data is from untrusted sources. OpenSSL command
line applications could also have been vulnerable when they print
out ASN.1 data, or if untrusted data is passed as command line
arguments. Libssl is not considered directly vulnerable.

Fri Feb 12 13:00:00 2016
- fix CVE-2015-3197 (bsc#963415)

* SSLv2 doesn\'t block disabled ciphers

* add openssl-CVE-2015-3197.patch

Thu Dec 3 13:00:00 2015
- security fixes:

* Certificate verify crash with missing PSS parameter
(CVE-2015-3194) (bsc#957815)

* X509_ATTRIBUTE memory leak (CVE-2015-3195) (bsc#957812)

* Race condition handling PSK identify hint (CVE-2015-3196)

* added patches:

Mon Nov 9 13:00:00 2015
- improve s390 performance (bsc#954256)

* added 0001-bn-asm-s390x.S-improve-performance-on-z196-and-z13-b.patch

Wed Nov 4 13:00:00 2015
- avoid running OPENSSL_config twice. This avoids breaking
engine loading. (bsc#952871)
- openssl.keyring: replaced with correct release engineer key

Wed Sep 23 14:00:00 2015
- clear openssl error when fips selftests fail in non-fips mode

* added openssl-fips-clearerror.patch

Fri Sep 4 14:00:00 2015
- don\'t build ppc64le as linux-generic32 (bsc#943421)
- modified openssl-1.0.1i-ppc-asm-update.patch
- adding patches:

Thu Aug 13 14:00:00 2015
- add support for \"ciphers\" providing no encryption (bsc#937085)

* don\'t build with -DSSL_FORBID_ENULL

Tue Aug 4 14:00:00 2015
- fixed a regression caused by openssl-CVE-2015-0287.patch

Fri Jul 10 14:00:00 2015
- Add POWER8 VMX crypto acceleration (fate#318717, bsc#937634)
- added patches from IBM:

* 0001-Taking-only-the-struct-change-of-ks-to-ks-ks.patch

* 0002-Taking-only-the-general-HWAES_-function-declarations.patch

* 0003-Taking-only-the-change-to-the-preprocessor-condition.patch

* 0004-evp-e_aes.c-populate-HWAES_-to-remaning-modes.patch
- fix corrupted keyring

Fri Jul 10 14:00:00 2015
- fix an RSA key generation problem with odd bit sizes (bsc#937212)

* added openssl-fips-fix-odd-rsakeybits.patch

Fri Jun 12 14:00:00 2015
- CVE-2015-4000 (boo#931698)

* The Logjam Attack /

* reject connections with DH parameters shorter than 1024 bits

* generates 2048-bit DH parameters by default
- CVE-2015-1788 (boo#934487)

* Malformed ECParameters causes infinite loop
- CVE-2015-1789 (boo#934489)

* Exploitable out-of-bounds read in X509_cmp_time
- CVE-2015-1790 (boo#934491)

* PKCS7 crash with missing EnvelopedContent
- CVE-2015-1792 (boo#934493)

* CMS verify infinite loop with unknown hash function
- CVE-2015-1791 (boo#933911)

* race condition in NewSessionTicket
- CVE-2015-3216 (boo#933898)

* Crash in ssleay_rand_bytes due to locking regression

* modified openssl-1.0.1i-fipslocking.patch
- fix timing side channel in RSA decryption (bnc#929678)
- newly added patches:

* 0001-s_server-Use-2048-bit-DH-parameters-by-default.patch

* 0002-dhparam-set-the-default-to-2048-bits.patch

* 0003-dhparam-fix-documentation.patch

* 0004-Update-documentation-with-Diffie-Hellman-best-practi.patch

* 0005-client-reject-handshakes-with-DH-parameters-1024-bits.patch

* openssl-CVE-2015-1788.patch

* openssl-CVE-2015-1789.patch

* openssl-CVE-2015-1790.patch

* openssl-CVE-2015-1791.patch

* openssl-CVE-2015-1792.patch

* openssl-RSA_premaster_secret_in_constant_time.patch

Tue Apr 28 14:00:00 2015
- the selftests must pass even in non-FIPS mode if the module is
complete (bnc#926597)

* added openssl-fips-selftests_in_nonfips_mode.patch

Mon Mar 16 13:00:00 2015
- security update:

* CVE-2015-0209 (bnc#919648)
- Fix a failure to NULL a pointer freed on error

* CVE-2015-0286 (bnc#922496)
- Segmentation fault in ASN1_TYPE_cmp

* CVE-2015-0287 (bnc#922499)
- ASN.1 structure reuse memory corruption

* CVE-2015-0288 x509: (bnc#920236)
- added missing public key is not NULL check

* CVE-2015-0289 (bnc#922500)
- PKCS7 NULL pointer dereferences

* CVE-2015-0293 (bnc#922488)
- Fix reachable assert in SSLv2 servers

* added patches:

Wed Jan 28 13:00:00 2015
- enforce a limit on minimal length of RSA decryption exponent d

* added openssl-fips-rsagen-d-bits.patch by Marcus Meissner

Fri Jan 9 13:00:00 2015
- fix for several security vulnerabilites:

* CVE-2014-3570 (bnc#912296)
- Bignum squaring (BN_sqr) may produce incorrect results on some
platforms, including x86_64.
- added openssl-CVE-2014-3570.patch

* CVE-2014-3571 (bnc#912294)
- Fix crash in dtls1_get_record whilst in the listen state where
you get two separate reads performed - one for the header and
one for the body of the handshake record.
- added openssl-CVE-2014-3571.patch

* CVE-2014-3572 (bnc#912015)
- don\'t accept a handshake using an ephemeral ECDH ciphersuites
with the server key exchange message omitted.
- added openssl-CVE-2014-3572.patch

* CVE-2014-8275 (bnc#912018)
- fix various certificate fingerprint issues
- added openssl-CVE-2014-8275.patch

* CVE-2015-0204 (bnc#912014)
- Only allow ephemeral RSA keys in export ciphersuites
- added openssl-CVE-2015-0204.patch

* CVE-2015-0205 (bnc#912293)
- Fix to prevent use of DH client certificates without sending
certificate verify message.
- added openssl-CVE-2015-0205.patch

* CVE-2015-0206 (bnc#912292)
- memory leak can occur in dtls1_buffer_record
- added openssl-CVE-2015-0206.patch

Fri Jan 9 13:00:00 2015
- make RSA2 key generation FIPS 186-4 compliant (bnc#901902)

* added openssl-fips_RSA_compute_d_with_lcm.patch

Thu Jan 8 13:00:00 2015
- X9.31 rand method is not allowed in FIPS mode

* added openssl-fips_disallow_x931_rand_method.patch
- don\'t allow dynamic ENGINEs loading in FIPS mode

* added openssl-fips_disallow_ENGINE_loading.patch
- for both see bnc#855676, comment 16
- added a locking hack which prevents hangs in FIPS mode (bnc#895129)

* added openssl-1.0.1i-fipslocking.patch

Fri Dec 19 13:00:00 2014
- openssl-rsakeygen-minimum-distance.patch: in non-FIPS rsa key
generation, mirror the maximum and minimum limiters from
FIPS rsa generation to meet Common Criteria requirements
on minimum and maximum distances between p and q. bsc#908362

Mon Dec 15 13:00:00 2014
- openssl-urandom-reseeding.patch: constant reseeding from /dev/urandom;
for every byte pulled, seed with 1 byte from /dev/urandom, also
change RAND_poll to pull the full state size of the SSLEAY DRBG.

Tue Nov 25 13:00:00 2014
- don\'t advertise curves we don\'t support (bnc#906878)

* added openssl-Added-OPENSSL_NO_EC2M-guards-around-the-preferred-EC.patch

Thu Oct 30 13:00:00 2014
- security fixes for bnc#901277 and bnc#901223
- NOTE: this update alone DOESN\'T FIX the POODLE SSL protocol vulnerability.
OpenSSL only adds downgrade detection support for client applications.
See for mitigations.
- details of the addressed vulnerabilities:

* ) SRTP Memory Leak.
A flaw in the DTLS SRTP extension parsing code allows an attacker, who
sends a carefully crafted handshake message, to cause OpenSSL to fail
to free up to 64k of memory causing a memory leak. This could be
exploited in a Denial Of Service attack. This issue affects OpenSSL
1.0.1 server implementations for both SSL/TLS and DTLS regardless of
whether SRTP is used or configured. Implementations of OpenSSL that
have been compiled with OPENSSL_NO_SRTP defined are not affected.

* ) Session Ticket Memory Leak.
When an OpenSSL SSL/TLS/DTLS server receives a session ticket the
integrity of that ticket is first verified. In the event of a session
ticket integrity check failing, OpenSSL will fail to free memory
causing a memory leak. By sending a large number of invalid session
tickets an attacker could exploit this issue in a Denial Of Service

* ) Build option no-ssl3 is incomplete.
When OpenSSL is configured with \"no-ssl3\" as a build option, servers
could accept and complete a SSL 3.0 handshake, and clients could be
configured to send them.

* ) Add support for TLS_FALLBACK_SCSV.
Client applications doing fallback retries should call
- added patches:

* openssl-CVE-2014-3513.patch

* openssl-CVE-2014-3566.patch

* openssl-CVE-2014-3567.patch

* openssl-CVE-2014-3568.patch

Tue Aug 19 14:00:00 2014
- openssl-1.0.1e-new-fips-reqs.patch refreshed to openssl-1.0.1i-new-fips-reqs.patch:
refreshed / renamed patch to match 1.0.1i changes.
- randomness locking is upstream
- RSA selftest with X9.31 padding is not needed anymore
- fixed FIPS selftest failures bnc#892477
- openssl-1.0.1i-ppc-asm-update.patch: update for ppc64le

Thu Aug 14 14:00:00 2014
- rename README.SuSE (old spelling) to README.SUSE (bnc#889013)

Wed Aug 13 14:00:00 2014
- update to 1.0.1i

* Fix SRP buffer overrun vulnerability. Invalid parameters passed to the
SRP code can be overrun an internal buffer. Add sanity check that
g, A, B < N to SRP code.

* A flaw in the OpenSSL SSL/TLS server code causes the server to negotiate
TLS 1.0 instead of higher protocol versions when the ClientHello message
is badly fragmented. This allows a man-in-the-middle attacker to force a
downgrade to TLS 1.0 even if both the server and the client support a
higher protocol version, by modifying the client\'s TLS records.

* OpenSSL DTLS clients enabling anonymous (EC)DH ciphersuites are subject
to a denial of service attack. A malicious server can crash the client
with a null pointer dereference (read) by specifying an anonymous (EC)DH
ciphersuite and sending carefully crafted handshake messages.

* By sending carefully crafted DTLS packets an attacker could cause openssl
to leak memory. This can be exploited through a Denial of Service attack.

* An attacker can force openssl to consume large amounts of memory whilst
processing DTLS handshake messages. This can be exploited through a
Denial of Service attack.

* An attacker can force an error condition which causes openssl to crash
whilst processing DTLS packets due to memory being freed twice. This
can be exploited through a Denial of Service attack.

* If a multithreaded client connects to a malicious server using a resumed
session and the server sends an ec point format extension it could write
up to 255 bytes to freed memory.

* A malicious server can crash an OpenSSL client with a null pointer
dereference (read) by specifying an SRP ciphersuite even though it was not
properly negotiated with the client. This can be exploited through a
Denial of Service attack.

* A flaw in OBJ_obj2txt may cause pretty printing functions such as
X509_name_oneline, X509_name_print_ex et al. to leak some information
from the stack. Applications may be affected if they echo pretty printing
output to the attacker.

* Fix ec_GFp_simple_points_make_affine (thus, EC_POINTs_mul etc.)
for corner cases. (Certain input points at infinity could lead to
bogus results, with non-infinity inputs mapped to infinity too.)
- refreshed patches:

* openssl-1.0.1e-new-fips-reqs.patch

* 0005-libssl-Hide-library-private-symbols.patch
(thanks to Marcus Meissner)

Mon Jun 30 14:00:00 2014
- openssl-1.0.1h-fips-engine.patch:
For the engine using algorithms, check if the meth returned
by the engine has the FIPS flag set in FIPS mode, otherwise
use the builtin method. (EVP digest and RSA implemented)

Tue Jun 24 14:00:00 2014
- fixed the FIPS pairwise check in DSA and EC key generation.

Tue Jun 24 14:00:00 2014
- recommend: ca-certificiates-mozilla instead of openssl-certs here

Thu Jun 5 14:00:00 2014
- updated to 1.0.1h (bnc#880891)
- CVE-2014-0224: Fix for SSL/TLS MITM flaw. An attacker using a carefully crafted
handshake can force the use of weak keying material in OpenSSL
SSL/TLS clients and servers.
- CVE-2014-0221: Fix DTLS recursion flaw. By sending an invalid DTLS handshake to an
OpenSSL DTLS client the code can be made to recurse eventually crashing
in a DoS attack.
- CVE-2014-0195: Fix DTLS invalid fragment vulnerability. A buffer
overrun attack can be triggered by sending invalid DTLS fragments to
an OpenSSL DTLS client or server. This is potentially exploitable to
run arbitrary code on a vulnerable client or server.
- CVE-2014-3470: Fix bug in TLS code where clients enable anonymous
ECDH ciphersuites are subject to a denial of service attack.
- CVE-2014-0198.patch: removed, upstream
- CVE-2010-5298.patch: removed, upstream
- openssl-1.0.1e-fips-ctor.patch: return success from checking of FIPS signatures.

Thu May 8 14:00:00 2014
- Fixed bug[ bnc#876710], openssl genrsa still uses 1024 bit by default
Add file: openssl-app-genrsa-fips.patch
Properly detect encryption failure in BIO

* use 2048 bit RSA key in FIPS selftests
Modify file: openssl-1.0.1e-new-fips-reqs.patch

Thu May 8 14:00:00 2014
- Fixed bug[ bnc#876282], CVE-2014-0198 openssl: OpenSSL NULL pointer dereference in do_ssl3_write
Add file: CVE-2014-0198.patch
Fixed bug[ bnc#876712], FIPS: ssh remote login does not work anymore
Add file: openssl-no-egd.patch

Tue May 6 14:00:00 2014
- Correct the PGP key to Factory

* Modify file: openssl.keyring

Tue May 6 14:00:00 2014
- Fixed bug[ bnc#876748] FIPS: openssl hmac verification fails open on empty hmac file

* Initialize rv to -1 by default
Modify file: openssl-1.0.1e-fips-ctor.patch

Sat Apr 12 14:00:00 2014
- Fixed bug[ bnc#873351] CVE-2010-5298: openssl: Use-after-free race condition,in OpenSSL\'s read buffer
Add file: CVE-2010-5298.patch

Tue Apr 8 14:00:00 2014
- Upgrade to OpenSSL 1.0.1g:

* Fix bug[ bnc#872299] TLS heartbeat read overrun (CVE-2014-0160)
Add files: openssl-1.0.1g.tar.gz, openssl-1.0.1g.tar.gz.asc
Delete files: openssl-1.0.1f.tar.gz, openssl-1.0.1f.tar.gz.asc, CVE-2014-0076.patch

Tue Mar 25 13:00:00 2014
- Fix bug[ bnc#869945] CVE-2014-0076: openssl: Recovering OpenSSL ECDSA Nonces Using the FLUSH+RELOAD Cache Side-channel Attack
Add file: CVE-2014-0076.patch

Mon Mar 24 13:00:00 2014
- fate#316363: Remove broken or outdated Ciphers
Add files: openssl-1.0.1e-add-suse-default-cipher-header.patch, openssl-1.0.1e-add-suse-default-cipher.patch

Wed Mar 5 13:00:00 2014
- Added DEFAULT_SUSE cipher suite
- Improved the DEFAULT cipher suite, removing EXPORT algorithms, RC2 and DES
- Added test case for the new DEFAULT_SUSE cipher suite
Add file: openssl-1.0.1e-add-test-suse-default-cipher-suite.patch

Mon Mar 3 13:00:00 2014
- additional changes required for FIPS validation( from Fedora repo)
Add patch file: openssl-1.0.1e-new-fips-reqs.patch

Sat Jan 11 13:00:00 2014
- Remove GCC option \"-O3\" for compiliation issue of ARM version
Modify: openssl.spec

Fri Jan 10 13:00:00 2014
- Adjust the installation path( libopenssl/hmac into /lib or /lib64)
Modify files: README-FIPS.txt openssl.spec

Thu Jan 9 13:00:00 2014
- 1.0.1f:

* Fix for TLS record tampering bug CVE-2013-4353
- already included:

* Fix for TLS version checking bug CVE-2013-6449

* Fix for DTLS retransmission bug CVE-2013-6450
- removed patches:

* CVE-2013-6449.patch, committed upstream

* CVE-2013-6450.patch, committed upstream

* SSL_get_certificate-broken.patch, committed upstream

* openssl-1.0.1e-bnc822642.patch, committed upstream
- modified patches:

* openssl-1.0.1e-fips.patch, adjust for upstream changes

* openssl-fix-pod-syntax.diff, adjust for upstream changes

Wed Jan 8 13:00:00 2014
- add a gpg keyring for source tarball

Wed Jan 8 13:00:00 2014
- Fixed bnc#857850, openssl doesn\'t load engine
Modify file: openssl.spec

Thu Jan 2 13:00:00 2014
- Fixed bnc#857203, openssl: crash in DTLS renegotiation after packet loss
Add file: CVE-2013-6450.patch

Sun Dec 22 13:00:00 2013
- Fixed bnc#856687, openssl: crash when using TLS 1.2
Add file: CVE-2013-6449.patch

Tue Dec 17 13:00:00 2013
- compression_methods_switch.patch: setenv might not be successful
if a surrounding library or application filters it, like e.g. sudo.
As setenv() does not seem to be useful anyway, remove it.

Mon Dec 16 13:00:00 2013
- Adjust the installation path.
Modify files: README-FIPS.txt openssl.spec

Fri Dec 6 13:00:00 2013
- don\'t own /etc/ssl/certs, it\'s owned by ca-certificates

Tue Dec 3 13:00:00 2013
- Actually enable it (in a building way) for openSUSE and SLES,
as we intended.
- Add README-FIPS.txt from SLE 11.

Mon Dec 2 13:00:00 2013
- Restrict the (broken beyond build) FIPS certification code
to SLE releases only, it has no value in openSUSE at all.

Sat Nov 23 13:00:00 2013
- Patches for OpenSSL FIPS-140-2/3 certification
Add patch files: openssl-1.0.1e-fips.patch, openssl-1.0.1e-fips-ec.patch,

Wed Oct 23 14:00:00 2013
- 0001-libcrypto-Hide-library-private-symbols.patch
This patch implements the libcrpto part complimentary to
This patch is however not 100% complete, as some private library
symbols are declared in public headers that shall not be touched
or are defined/declared in \"perlasm\". (tested in 13.1, 12.3, factory)
- openSSL defaults to -O3 optimization level but we override
it with RPM_OPT_FLAGS, ensure we use -O3 like upstream.

Fri Oct 11 14:00:00 2013
- openssl-1.0.1c-ipv6-apps.patch:
Support ipv6 in the openssl s_client / s_server commandline app.

Fri Sep 27 14:00:00 2013
- VPN openconnect problem (DTLS handshake failed)
(git 9fe4603b8, bnc#822642, openssl ticket#2984)

Wed Sep 4 14:00:00 2013
- Fix armv6l arch (armv7 was previously used to build armv6 which
lead to illegal instruction when used)

Mon Aug 12 14:00:00 2013
- Fix bug[ bnc#832833] openssl ssl_set_cert_masks() is broken
modify patch file: SSL_get_certificate-broken.patch

Fri Aug 9 14:00:00 2013
- Via padlock is only found in x86 and x86_64 CPUs, remove
the shared module for other archs.

Wed Aug 7 14:00:00 2013
- Cleanup engines that are of no use in a modern linux distro
- The following engines stay:

* --> usable in case you have third party /dev/crypto

* --> may help to doing some maths using GMP

* --> implements the GOST block cipher

* --> VIA padlock support
- Al other are removed because they require third party propietary
shared libraries nowhere to be found or that we can test.

Wed Aug 7 14:00:00 2013
- openssl-pkgconfig.patch: Here we go.. For applications
to benefit fully of features provided by openSSL engines
(rdrand, aes-ni..etc) either builtin or in DSO form applications
have to call ENGINE_load_builtin_engines() or OPENSSL_config()
unfortunately from a total of 68 apps/libraries linked to libcrypto
in a desktop system, only 4 do so, and there is a sea of buggy
code that I dont feel like fixing.
Instead we can pass -DOPENSSL_LOAD_CONF in the pkgconfig files
so the needed operation becomes implicit the next time such apps
are recompiled, see OPENSSL_config(3)
Unfortunately this does not fix everything, because there are apps
not using pkgconfig or using it incorrectly, but it is a good start.

Wed Aug 7 14:00:00 2013
- add openssl-1.0.1c-default-paths.patch:
Fix from Fedora for openssl s_client not setting
CApath by default

Sat Aug 3 14:00:00 2013
- 0005-libssl-Hide-library-private-symbols.patch: hide
private symbols, this
* applies to libssl where
it is straightforward to do so as applications should
not be using any of the symbols declared/defined in headers
that the library does not install.
A separate patch MAY be provided in the future for libcrypto
where things are much more complicated and threfore requires
careful testing.

Mon Jul 29 14:00:00 2013
- compression_methods_switch.patch: Disable compression by default to
avoid the CRIME attack (CVE-2012-4929 bnc#793420)
Can be override by setting environment variable

Tue Jul 2 14:00:00 2013
- Don\'t use the legacy /etc/ssl/certs directory anymore but rather
the p11-kit generated /var/lib/ca-certificates/openssl one
(fate#314991, openssl-1.0.1e-truststore.diff)

Sat Jun 29 14:00:00 2013
- Build enable-ec_nistp_64_gcc_128, ecdh is many times faster
but only works in x86_64.
According to the openSSL team
\"it is superior to the default in multiple regards (speed, and also
security as the new implementations are secure against timing
It is not enabled by default due to the build system being unable
to detect if the compiler supports __uint128_t.

Thu Jun 20 14:00:00 2013
- pick openssl-fix-pod-syntax.diff out of the upstream RT to fix
build with perl 5.18

Sat May 25 14:00:00 2013
- add %if tag for BuildArch. sles may also need latest openssl.

Fri Feb 22 13:00:00 2013
- disable fstack-protector on aarch64

Tue Feb 12 13:00:00 2013
- Update to 1.0.1e
o Bugfix release (bnc#803004)
- Drop openssl-1.0.1d-s3-packet.patch, included upstream

Sun Feb 10 13:00:00 2013
- Added openssl-1.0.1d-s3-packet.patch from upstream, fixes
bnc#803004, openssl ticket#2975

Tue Feb 5 13:00:00 2013
- update to version 1.0.1d, fixing security issues
o Fix renegotiation in TLS 1.1, 1.2 by using the correct TLS version.
o Include the fips configuration module.
o Fix OCSP bad key DoS attack CVE-2013-0166
o Fix for SSL/TLS/DTLS CBC plaintext recovery attack CVE-2013-0169
o Fix for TLS AESNI record handling flaw CVE-2012-2686

Mon Nov 12 13:00:00 2012
- fix bug[bnc#784994] - VIA padlock support on 64 systems
e_padlock: add support for x86_64 gcc

Sun Aug 19 14:00:00 2012
- Open Internal file descriptors with O_CLOEXEC, leaving
those open across fork()..execve() makes a perfect
vector for a side-channel attack...

Tue Aug 7 14:00:00 2012
- fix build on armv5 (bnc#774710)

Thu May 10 14:00:00 2012
- Update to version 1.0.1c for the complete list of changes see
NEWS, this only list packaging changes.
- Drop aes-ni patch, no longer needed as it is builtin in openssl
- Define GNU_SOURCE and use -std=gnu99 to build the package.
- Use LFS_CFLAGS in platforms where it matters.

Fri May 4 14:00:00 2012
- don\'t install any demo or expired certs at all

Mon Apr 23 14:00:00 2012
- update to latest stable verison 1.0.0i
including the following patches:

Tue Mar 27 14:00:00 2012
- fix bug[bnc#749735] - Memory leak when creating public keys.
fix bug[bnc#751977] - CMS and S/MIME Bleichenbacher attack

Thu Mar 22 13:00:00 2012
- fix bug[bnc#751946] - S/MIME verification may erroneously fail

Wed Mar 21 13:00:00 2012
- fix bug[bnc#749213]-Free headers after use in error message
and bug[bnc#749210]-Symmetric crypto errors in PKCS7_decrypt

Tue Mar 20 13:00:00 2012
- license update: OpenSSL

Fri Feb 24 13:00:00 2012
- fix bug[bnc#748738] - Tolerate bad MIME headers in openssl\'s
asn1 parser.

Thu Feb 2 13:00:00 2012
- Update to version 1.0.0g fix the following:
DTLS DoS attack (CVE-2012-0050)

Wed Jan 11 13:00:00 2012
- Update to version 1.0.0f fix the following:
DTLS Plaintext Recovery Attack (CVE-2011-4108)
Uninitialized SSL 3.0 Padding (CVE-2011-4576)
Malformed RFC 3779 Data Can Cause Assertion Failures (CVE-2011-4577)
SGC Restart DoS Attack (CVE-2011-4619)
Invalid GOST parameters DoS Attack (CVE-2012-0027)

Tue Oct 18 14:00:00 2011
- AES-NI: Check the return value of Engine_add()
if the ENGINE_add() call fails: it ends up adding a reference
to a freed up ENGINE which is likely to subsequently contain garbage
This will happen if an ENGINE with the same name is added multiple
times,for example different libraries. [bnc#720601]

Sat Oct 8 14:00:00 2011
- Build with -DSSL_FORBID_ENULL so servers are not
able to use the NULL encryption ciphers (Those offering no
encryption whatsoever).

Wed Sep 7 14:00:00 2011
- Update to openssl 1.0.0e fixes CVE-2011-3207 and CVE-2011-3210
see for details.

Sat Aug 6 14:00:00 2011
- 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 14:00:00 2011
- remove -fno-strict-aliasing from CFLAGS no longer needed
and is likely to slow down stuff.

Mon Jul 25 14:00:00 2011
- Edit baselibs.conf to provide libopenssl-devel-32bit too

Fri Jun 24 14:00:00 2011
- update to latest stable version 1.0.0d.
patch removed(already in the new package):
patch added:

Tue May 31 14:00:00 2011
- fix bug[bnc#693027].
Add protection against ECDSA timing attacks as mentioned in the paper
by Billy Bob Brumley and Nicola Tuveri, see:
[Billy Bob Brumley and Nicola Tuveri]

Mon May 16 14:00:00 2011
- added openssl as dependency in the devel package

Thu Feb 10 13:00:00 2011
- fix bug [bnc#670526]
CVE-2011-0014,OCSP stapling vulnerability

Sat Jan 15 13:00:00 2011
- Add patch from upstream in order to support AES-NI instruction
set present on current Intel and AMD processors

Mon Jan 10 13:00:00 2011
- enable -DPURIFY to avoid valgrind errors.

Thu Dec 9 13:00:00 2010
- update to stable version 1.0.0c.
patch included:

Thu Nov 18 13:00:00 2010
- fix bug [bnc#651003]

Sat Sep 25 14:00:00 2010
- fix bug [bnc#629905]

Wed Jul 28 14:00:00 2010
- Exclude static libraries, see what breaks and fix that

Wed Jun 30 14:00:00 2010
- fix two compile errors on SPARC

Tue Jun 15 14:00:00 2010
- -fstack-protector is not supported on hppa

Fri Jun 4 14:00:00 2010
- fix bnc #610642

Mon May 31 14:00:00 2010
- fix bnc #610223,change Configure to tell openssl to load engines
from /%{_lib} instead of %{_libdir}

Mon May 10 14:00:00 2010
- Do not compile in build time but use mtime of changes file instead.
This allows build-compare to identify that no changes have happened.

Tue May 4 14:00:00 2010
- build libopenssl to /%{_lib} dir,and keep only one
libopenssl-devel for new developping programs.

Tue Apr 27 14:00:00 2010
- build libopenssl and libopenssl-devel to a version directory

Sat Apr 24 14:00:00 2010
- buildrequire pkg-config to fix provides

Wed Apr 21 14:00:00 2010
- also create old certificate hash in /etc/ssl/certs for
compatibility with applications that still link against 0.9.8

Mon Apr 12 14:00:00 2010
- Disable our own build targets, instead use the openSSL provided ones
as they are now good (or should be good at least).
- add -Wa,--noexecstack to the Configure call, this is the upstream
approved way to avoid exec-stack marking

Mon Apr 12 14:00:00 2010
- update to 1.0.0
Merge the following patches from 0.9.8k:

Fri Apr 9 14:00:00 2010
- fixed \"exectuable stack\" for issue on i586 by
adjusting the assembler output during MMX builds.

Wed Apr 7 14:00:00 2010
- Openssl is now partially converted to libdir usage upstream,
merge that in to fix lib64 builds.

Thu Mar 25 13:00:00 2010
- fix security bug [bnc#590833]

Mon Mar 22 13:00:00 2010
- update to version 0.9.8m
Merge the following patches from 0.9.8k:

Fri Feb 5 13:00:00 2010
- build openssl for sparc64

Mon Dec 14 13:00:00 2009
- add baselibs.conf as a source
- package documentation as noarch

Tue Nov 3 13:00:00 2009
- updated patches to apply with fuzz=0

Tue Sep 1 14:00:00 2009
- fix Bug [bnc#526319]

Wed Aug 26 14:00:00 2009
- use %patch0 for Patch0

Fri Jul 3 14:00:00 2009
- update to version 0.9.8k
- patches merged upstream:

Tue Jun 30 14:00:00 2009
- fix security bug [bnc#509031]

Tue Jun 30 14:00:00 2009
- fix security bug [bnc#504687]

Wed Apr 15 14:00:00 2009
- fix security bug [bnc#489641]