aboutsummaryrefslogtreecommitdiff
path: root/openssl/crypto/x509/x509type.c
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/crypto/x509/x509type.c')
-rw-r--r--openssl/crypto/x509/x509type.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/openssl/crypto/x509/x509type.c b/openssl/crypto/x509/x509type.c
index 033175257..9219f753b 100644
--- a/openssl/crypto/x509/x509type.c
+++ b/openssl/crypto/x509/x509type.c
@@ -121,9 +121,6 @@ int X509_certificate_type(X509 *x, EVP_PKEY *pkey)
}
}
- /* /8 because it's 1024 bits we look for, not bytes */
- if (EVP_PKEY_size(pk) <= 1024 / 8)
- ret |= EVP_PKT_EXP;
if (pkey == NULL)
EVP_PKEY_free(pk);
return (ret);