From 6229a5607c64cdbac023b73d52c3aab0016cbea7 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Tue, 6 Nov 2001 01:44:21 +0000 Subject: [PATCH] Fix email address delete code. --- apps/ca.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ca.c b/apps/ca.c index 107c4d2b98..7a168aa9d3 100644 --- a/apps/ca.c +++ b/apps/ca.c @@ -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); -- 2.25.1