Aleksey Sanin wrote:

>> It looks as if it is happy with the PEM image of the certificate, but
>> something else is preventing the certificate from being "adopted".
>>
> Yes... To the best of my knowledge, X509_STORE_add_cert() never
> fails... Can you run it under debugger and find out why it actually
> fails in this
> case?
>
I now know why it fails. 

If you attempt to load the same the same cert many times, for example if
you forget to increment your loop counter, X509_STORE_add_cert() refuses
to add the duplicate certificate.

Sorry for wasting your time.

regards,
Martin
_______________________________________________
xmlsec mailing list
xmlsec@aleksey.com
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to