Ben Laurie wrote:
...
  -static DH *load_dh_param(char *dhfile)
  +static DH *load_dh_param(const char *dhfile)
       {
       DH *ret=NULL;
       BIO *bio;
     -    if ((bio=BIO_new_file(dhfile,"r")) == NULL)
  +    if ((bio=BIO_new_file((char *)dhfile,"r")) == NULL)


Gah! Don't do this - clearly this parameter is also const.

yep, I've confused BIO_new_file with BIO_read_filename

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

Reply via email to