diff options
author | 2004-04-08 08:03:11 +0000 | |
---|---|---|
committer | 2004-04-08 08:03:11 +0000 | |
commit | 6278d0304dd1b39e46a509fa3953ad2d0b67fb9d (patch) | |
tree | dbc442beb7920ec3d30578fe90f92fb8264f34e9 /lib/libcrypto/x509/x509type.c | |
parent | -l can overwrite the path to the leases file, noticed by millert (diff) | |
download | wireguard-openbsd-6278d0304dd1b39e46a509fa3953ad2d0b67fb9d.tar.xz wireguard-openbsd-6278d0304dd1b39e46a509fa3953ad2d0b67fb9d.zip |
merge 0.9.7d
Diffstat (limited to 'lib/libcrypto/x509/x509type.c')
-rw-r--r-- | lib/libcrypto/x509/x509type.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcrypto/x509/x509type.c b/lib/libcrypto/x509/x509type.c index f78c2a6b438..c25959a7428 100644 --- a/lib/libcrypto/x509/x509type.c +++ b/lib/libcrypto/x509/x509type.c @@ -106,7 +106,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); |