Hi Tim,

after understanding what happens I found and understand FAQ. But if it is
part of the FAQ why not putting a hint on the relevant man pages, Maybe
after doing this this item is no FAQ any more ;).

Ciao
  Matthias

> Matthias Barmeier wrote:
>> Hi,
>>
>> ok, sorry for not understanding what happens. The call
>> OpenSSL_add_all_algorithms() was missing.
>>
>> After adding it everything seems to work perfect.
>>
>> Shouldn't this be mentioned on the man page of the PEM functions ?
>
> It is not PEM specific - it applies to anything trying to use an algorithm
> which
> hasn't been registered.
>
>
> The FAQ does indeed contain information about this:
>
> http://www.openssl.org/support/faq.html#PROG8
>
> 8. Why do I get errors about unknown algorithms?
>
> The cause is forgetting to load OpenSSL's table of algorithms with
> OpenSSL_add_all_algorithms(). See the manual page for more information.
> This can
> cause several problems such as being unable to read in an encrypted PEM
> file,
> unable to decrypt a PKCS#12 file or signature failure when verifying
> certificates.
>
> Tim.
>


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to