diff options
author | Richard Levitte <levitte@openssl.org> | 2003-11-28 22:39:19 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2003-11-28 22:39:19 +0000 |
commit | b727907ae86dbf46bf95af1166a04e67be853df2 (patch) | |
tree | bcf46dbb5d03a7e6960d4b7011e23487331f0f7a /crypto/x509/x509type.c | |
parent | 444c3a84920972059dd4df20c990f68785d86342 (diff) | |
download | openssl-b727907ae86dbf46bf95af1166a04e67be853df2.tar.gz |
1024 is the export key bits limit according to current regulations, not 512.
PR: 771
Submitted by: c zhang <czhang2005@hotmail.com>
Diffstat (limited to 'crypto/x509/x509type.c')
-rw-r--r-- | crypto/x509/x509type.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509/x509type.c b/crypto/x509/x509type.c index 8fe1c54583..2cd994c5b0 100644 --- a/crypto/x509/x509type.c +++ b/crypto/x509/x509type.c @@ -112,7 +112,7 @@ int X509_certificate_type(X509 *x, EVP_PKEY *pkey) break; } - if (EVP_PKEY_size(pk) <= 512/8) /* /8 because it's 512 bits we look + if (EVP_PKEY_size(pk) <= 1024/8)/* /8 because it's 1024 bits we look for, not bytes */ ret|=EVP_PKT_EXP; if(pkey==NULL) EVP_PKEY_free(pk); |