Lincoln wrote: > Hi, Hello Kincoln, > Does anyone know why X509_NAME_add_entry_by_txt can > not add Email entry? > It works fine with openssl 0.9.6x, but when I link it > with 0.9.7d, it failed. [...] > -- test code --- [...]
>
> X509_NAME *name = X509_NAME_new();
> char *field = "Email";
^^^^^
Since Email is not an official name, it was dropped
(I think in 0.9.7)
Try the official name "emailAddress".
Bye
Goetz
--
DMCA: The greed of the few outweighs the freedom of the many
smime.p7s
Description: S/MIME Cryptographic Signature
