Manuel Mollar wrote:
> 
> [EMAIL PROTECTED] wrote:
> 
> >
> > > I have compiled and used this program without problems about this.
> >
> > Are you really using an encrypted key with password (PIN-code)?
> >
> 
> No, I have simply tried the program with a demo pkey.
> I don't have read your mail carefully, sorry.
> What is really the effect of SSLeay_add_all_algorithms() ?
> 

It adds a list of all algorithms to a lookup table, so when you decrypt
something and its says "DES" it knows which algorithms it is referring
to.

Secondly, as a result, it ends up linking in all the relevant algorithms
for static libraries.

The means that you could, for example, write out an encrypted private
key without SSLeay_add_all_algorithms(), but you couldn't read it in
again because the lookup would fail.

Steve.
-- 
Dr Stephen N. Henson.   http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED] 
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the   OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to