- Use AI_ADDRCONFIG only when explicit host name is given - Temporarily remove fipsmodule.cnf for arch i686 - Fixes segmentation fault in BN_lebin2bn Resolves: rhbz#1975847, rhbz#1976845, rhbz#1973477, rhbz#1975855 Signed-off-by: Sahana Prasad <sahana@redhat.com>epel8
parent
4f728a9f3f
commit
90bf702df6
@ -0,0 +1,12 @@
|
|||||||
|
diff -up openssl-3.0.0-alpha16/crypto/bio/b_addr.c.use-explicit openssl-3.0.0-alpha16/crypto/bio/b_addr.c
|
||||||
|
--- openssl-3.0.0-alpha16/crypto/bio/b_addr.c.use-explicit 2021-07-06 14:06:05.706578389 +0200
|
||||||
|
+++ openssl-3.0.0-alpha16/crypto/bio/b_addr.c 2021-07-06 14:07:24.482329505 +0200
|
||||||
|
@@ -696,7 +696,7 @@ int BIO_lookup_ex(const char *host, cons
|
||||||
|
hints.ai_protocol = protocol;
|
||||||
|
# ifdef AI_ADDRCONFIG
|
||||||
|
# ifdef AF_UNSPEC
|
||||||
|
- if (family == AF_UNSPEC)
|
||||||
|
+ if (host != NULL && family == AF_UNSPEC)
|
||||||
|
# endif
|
||||||
|
hints.ai_flags |= AI_ADDRCONFIG;
|
||||||
|
# endif
|
@ -0,0 +1,12 @@
|
|||||||
|
diff -up openssl-3.0.0-alpha16/apps/x509.c.segfault-bn openssl-3.0.0-alpha16/apps/x509.c
|
||||||
|
--- openssl-3.0.0-alpha16/apps/x509.c.segfault-bn 2021-07-06 22:12:37.021406952 +0200
|
||||||
|
+++ openssl-3.0.0-alpha16/apps/x509.c 2021-07-06 22:13:40.540996922 +0200
|
||||||
|
@@ -934,7 +934,7 @@ int x509_main(int argc, char **argv)
|
||||||
|
} else if (i == modulus) {
|
||||||
|
BIO_printf(out, "Modulus=");
|
||||||
|
if (EVP_PKEY_is_a(pkey, "RSA")) {
|
||||||
|
- BIGNUM *n;
|
||||||
|
+ BIGNUM *n = NULL;
|
||||||
|
|
||||||
|
/* Every RSA key has an 'n' */
|
||||||
|
EVP_PKEY_get_bn_param(pkey, "n", &n);
|
Loading…
Reference in new issue