aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/_cffi_src/openssl/nid.py12
-rw-r--r--src/cryptography/hazmat/bindings/openssl/_conditional.py6
2 files changed, 0 insertions, 18 deletions
diff --git a/src/_cffi_src/openssl/nid.py b/src/_cffi_src/openssl/nid.py
index 94f21c67..b404addf 100644
--- a/src/_cffi_src/openssl/nid.py
+++ b/src/_cffi_src/openssl/nid.py
@@ -9,8 +9,6 @@ INCLUDES = """
"""
TYPES = """
-static const int Cryptography_HAS_ECDSA_SHA2_NIDS;
-
static const int NID_undef;
static const int NID_dsa;
static const int NID_dsaWithSHA;
@@ -226,14 +224,4 @@ MACROS = """
"""
CUSTOMIZATIONS = """
-/* OpenSSL 0.9.8g+ */
-#if OPENSSL_VERSION_NUMBER >= 0x0090807fL
-static const long Cryptography_HAS_ECDSA_SHA2_NIDS = 1;
-#else
-static const long Cryptography_HAS_ECDSA_SHA2_NIDS = 0;
-static const int NID_ecdsa_with_SHA224 = 0;
-static const int NID_ecdsa_with_SHA256 = 0;
-static const int NID_ecdsa_with_SHA384 = 0;
-static const int NID_ecdsa_with_SHA512 = 0;
-#endif
"""
diff --git a/src/cryptography/hazmat/bindings/openssl/_conditional.py b/src/cryptography/hazmat/bindings/openssl/_conditional.py
index 1e8f99cd..bec9c0a2 100644
--- a/src/cryptography/hazmat/bindings/openssl/_conditional.py
+++ b/src/cryptography/hazmat/bindings/openssl/_conditional.py
@@ -211,12 +211,6 @@ CONDITIONAL_NAMES = {
"EVP_CTRL_GCM_SET_TAG",
"EVP_CTRL_GCM_SET_IVLEN",
],
- "Cryptography_HAS_ECDSA_SHA2_NIDS": [
- "NID_ecdsa_with_SHA224",
- "NID_ecdsa_with_SHA256",
- "NID_ecdsa_with_SHA384",
- "NID_ecdsa_with_SHA512",
- ],
"Cryptography_HAS_EGD": [
"RAND_egd",
"RAND_egd_bytes",
a> 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230