Hello,

I am on OpenSSL 0.9.8g 19 Oct 2007 under Redhat Linux. The function
"SSL_CTX_new" is returning a strange error. Did anyone else face the same
problem? If anyone can provide some pointers or hints to solve the problem,
that would be great.

The error buf prints:

error:1A09400E:SSLCERT routines:STORE_NEW:not supported


Code Snippet:

#include <openssl/ssl.h>
#include <openssl/err.h>

.....

SSL_CTX* ctx;
SSL_METHOD *meth;
int err;

  SSLeay_add_ssl_algorithms();
  meth = SSLv3_client_method();
  SSL_load_error_strings();

  ctx = SSL_CTX_new (meth);
  if (ctx == NULL)
  {
        unsigned long ErrCode = ERR_get_error();
        char ErrBuf[120];
        ERR_error_string(ErrCode, ErrBuf);
        fprintf(stderr, "Error: [%s]\n", ErrBuf);          // output -
Error: [error:1A09400E:SSLCERT routines:STORE_NEW:not supported]
          return -1;
  }
......


Thanks, Ambarish Mitra.


// This mesg will have a disclaimer. Pls ignore the same.


DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Ltd. does not accept any liability for virus infected mails.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to