Hi all, I am forwarding a patch to openssl needed for the email_in_dn feature to correctly work. I hope the fix will be included ASAP, while it is not, here it is the patch for openssl. Enjoy it... :-D
Massimiliano Pala wrote:
>
> Hi,
>
> forget what I've written in my previous mail. The problem was far more
> "stupid": parethesis were not in the right place. Here it is the fix
> for it:
>
> --- Original: line 2065 ----
> while((i = X509_NAME_get_index_by_NID(dn_subject,
> NID_pkcs9_emailAddress, -1) >= 0))
>
> --- Modified: line 2065 ----
> while((i = X509_NAME_get_index_by_NID(dn_subject,
> NID_pkcs9_emailAddress, -1)) >= 0)
>
> I attach a diff too.
To apply the patch simply save it into the openssl/apps dir and do:
$ patch <ca.patch-20011103
This should work on 20011028+ openssl ca.c versions.
--
C'you,
Massimiliano Pala
--o-------------------------------------------------------------------------
Massimiliano Pala [OpenCA Project Manager] [EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.openca.org Tel.: +39 (0)59 270 094
http://openca.sourceforge.net Mobile: +39 (0)347 7222 365
--- ca.c Tue Nov 6 00:55:23 2001
+++ ca.c.new Tue Nov 6 00:55:18 2001
@@ -2063,7 +2063,7 @@
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);
smime.p7s
Description: S/MIME Cryptographic Signature
