diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2006-04-11 13:28:52 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2006-04-11 13:28:52 +0000 |
commit | f5cda4cbb17c908ceef33f4f52d94e8e04b7c1ab (patch) | |
tree | 851abcd3b7178040056cbb1ce397bbc526774041 /crypto/asn1 | |
parent | f9a6348a537290f65fd76d945419a4c9bafff012 (diff) |
Initial keygen support.
Diffstat (limited to 'crypto/asn1')
-rw-r--r-- | crypto/asn1/ameth_lib.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/asn1/ameth_lib.c b/crypto/asn1/ameth_lib.c index 14b5aa335b..4dd0dfa62b 100644 --- a/crypto/asn1/ameth_lib.c +++ b/crypto/asn1/ameth_lib.c @@ -160,6 +160,8 @@ const EVP_PKEY_ASN1_METHOD *EVP_PKEY_asn1_find_str(const char *str, int len) { int i; const EVP_PKEY_ASN1_METHOD *ameth; + if (len == -1) + len = strlen(str); for (i = 0; i < EVP_PKEY_asn1_get_count(); i++) { ameth = EVP_PKEY_asn1_get0(i); |