Initial keygen support.

This commit is contained in:
Dr. Stephen Henson
2006-04-11 13:28:52 +00:00
parent f9a6348a53
commit f5cda4cbb1
13 changed files with 696 additions and 17 deletions

View File

@@ -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);