Skip to content

Commit 71929bd

Browse files
authored
Remove binding that's not used anymore (#10224)
1 parent 7ea4b89 commit 71929bd

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

src/_cffi_src/openssl/evp.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
static const int EVP_PKEY_RSA_PSS;
2121
static const int EVP_PKEY_DSA;
2222
static const int EVP_PKEY_DH;
23-
static const int EVP_PKEY_DHX;
2423
static const int EVP_PKEY_EC;
2524
static const int EVP_PKEY_X25519;
2625
static const int EVP_PKEY_ED25519;
@@ -93,7 +92,6 @@
9392
const long Cryptography_HAS_EVP_PKEY_DHX = 1;
9493
#else
9594
const long Cryptography_HAS_EVP_PKEY_DHX = 0;
96-
const long EVP_PKEY_DHX = -1;
9795
#endif
9896
9997
#if CRYPTOGRAPHY_IS_LIBRESSL || defined(OPENSSL_NO_SCRYPT)

src/cryptography/hazmat/bindings/openssl/_conditional.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@ def cryptography_has_tls_st() -> list[str]:
2828
]
2929

3030

31-
def cryptography_has_evp_pkey_dhx() -> list[str]:
32-
return [
33-
"EVP_PKEY_DHX",
34-
]
35-
36-
3731
def cryptography_has_mem_functions() -> list[str]:
3832
return [
3933
"Cryptography_CRYPTO_set_mem_functions",
@@ -208,7 +202,6 @@ def cryptography_has_get_extms_support() -> list[str]:
208202
"Cryptography_HAS_SET_CERT_CB": cryptography_has_set_cert_cb,
209203
"Cryptography_HAS_SSL_ST": cryptography_has_ssl_st,
210204
"Cryptography_HAS_TLS_ST": cryptography_has_tls_st,
211-
"Cryptography_HAS_EVP_PKEY_DHX": cryptography_has_evp_pkey_dhx,
212205
"Cryptography_HAS_MEM_FUNCTIONS": cryptography_has_mem_functions,
213206
"Cryptography_HAS_ED448": cryptography_has_ed448,
214207
"Cryptography_HAS_SIGALGS": cryptography_has_ssl_sigalgs,

0 commit comments

Comments
 (0)