Fix email address delete code.

This commit is contained in:
Dr. Stephen Henson 2001-11-06 01:44:21 +00:00
parent 6acc3b9689
commit 6229a5607c

View File

@ -2063,7 +2063,7 @@ again2:
goto err;
}
while((i = X509_NAME_get_index_by_NID(dn_subject,
NID_pkcs9_emailAddress, -1) >= 0))
NID_pkcs9_emailAddress, -1)) >= 0)
{
tmpne = X509_NAME_get_entry(dn_subject, i);
X509_NAME_delete_entry(dn_subject, i);