Hi Tim,

thanks a lot. Your hint helped me to solve the problem: I added this and now
it works !

/* load OpenSSL stuff */
OpenSSL_add_all_algorithms();
ERR_load_crypto_strings();

cheers,
Jordi


2007/10/24, Tim Hudson <[EMAIL PROTECTED]>:
>
> > ** file cpfp_ssl.c: line 2752
> > Error verifying signature on issued certificate:
> > 8134:error:0D0C50A1:lib(13):func(197):reason(161):a_verify.c:141:
> >
> > After looking into "a_verify.c" line 141, this corresponds to the
> > following error:
> >
> > ASN1_R_UNKNOWN_MESSAGE_DIGEST_ALGORITHM
>
> The way to figure out the error details without having to go to the code
> would
> have been to use the errstr program:
>
> openssl errstr 0D0C50A1
>
>         error:0D0C50A1:asn1 encoding routines:ASN1_item_verify:unknown
> message digest
> algorithm
>
> It is most likely that you are missing a call to
> OpenSSL_add_all_algorithms() in
> your code - not all algorithms are available by default - so this call
> pulls in
> everything and should resolve the issue.
>
> Tim.
>

Reply via email to