Bugzilla – Attachment 3473 Details for
Bug 3238
Fix openssl-3.0 regression: fix dhgex for non-GCM ciphers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
adapt to OpenSSL 3.x API
bz3238.diff (text/plain), 1.05 KB, created by
Damien Miller
on 2021-02-18 11:40:04 AEDT
(
hide
)
Description:
adapt to OpenSSL 3.x API
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2021-02-18 11:40:04 AEDT
Size:
1.05 KB
patch
obsolete
>diff --git a/configure.ac b/configure.ac >index 6b75cf97..fe225731 100644 >--- a/configure.ac >+++ b/configure.ac >@@ -2867,6 +2867,7 @@ if test "x$openssl" = "xyes" ; then > EVP_CIPHER_CTX_iv \ > EVP_CIPHER_CTX_iv_noconst \ > EVP_CIPHER_CTX_get_iv \ >+ EVP_CIPHER_CTX_get_updated_iv \ > EVP_CIPHER_CTX_set_iv \ > RSA_get0_crt_params \ > RSA_get0_factors \ >diff --git a/openbsd-compat/openssl-compat.h b/openbsd-compat/openssl-compat.h >index 388ae8aa..8ca50b5a 100644 >--- a/openbsd-compat/openssl-compat.h >+++ b/openbsd-compat/openssl-compat.h >@@ -113,8 +113,12 @@ int DSA_set0_key(DSA *d, BIGNUM *pub_key, BIGNUM *priv_key); > #endif /* HAVE_DSA_SET0_KEY */ > > #ifndef HAVE_EVP_CIPHER_CTX_GET_IV >+# ifdef HAVE_EVP_CIPHER_CTX_GET_UPDATED_IV >+# define EVP_CIPHER_CTX_get_iv EVP_CIPHER_CTX_get_updated_iv >+# else /* HAVE_EVP_CIPHER_CTX_GET_UPDATED_IV */ > int EVP_CIPHER_CTX_get_iv(const EVP_CIPHER_CTX *ctx, > unsigned char *iv, size_t len); >+# endif /* HAVE_EVP_CIPHER_CTX_GET_UPDATED_IV */ > #endif /* HAVE_EVP_CIPHER_CTX_GET_IV */ > > #ifndef HAVE_EVP_CIPHER_CTX_SET_IV
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 3238
:
3461
|
3462
| 3473