I'm studing and testing OpenSSL.
In Win2k Professional, I compiled and runned 'genrsa' programs.
But BIO_XXX routines make errors.
I don't know what is the problem : improper compile option or missing initializing routine or win2k bug?
 
Please help me.
 
/////////////
Source
/////////////
 
{
 BIO *bio_err=NULL;
 
 if ((bio_err=BIO_new(BIO_s_file())) != NULL)
  BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT);
-----------
 
 BIO_printf(bio_err,"usage: genrsa [args] [numbits]\n");  => error happens!
  }

Reply via email to