Hi All,

In openssl-0.9.7c/demos/sign/sign.c the comments state (as does the
man page):

  /* Just load the crypto library error strings,
   * SSL_load_error_strings() loads the crypto AND the SSL ones */
  /* SSL_load_error_strings();*/
  ERR_load_crypto_strings();

Yet if I try to load the ssl strings as well by changing to:

  SSL_load_error_strings();
  /* ERR_load_crypto_strings();*/

(whether or not I add the -lssl compile flag) the compiler/linker
fails with
        92: undefined reference to `SSL_load_error_strings'

But if I change it to:

  ERR_load_SSL_strings();
  /* ERR_load_crypto_strings(); */

and add on the -lssl compiler flag, it compiles (and runs) ok.

Is there a difference between SSL_load_error_strings() and
ERR_load_SSL_strings()?

Thanks,
Dann

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

Reply via email to