Re: BN_print_fp() problem with OpenSSL 0.9.4?

1999-08-16 Thread Nicholas Brawn
On Mon, 16 Aug 1999, Dr Stephen Henson wrote: > Maybe 2 :-) > > I'd say dh->pub_key is NULL because you are just generating parameters > and not a public/private key pair. > > If you want keys as well then call DH_generate_key() on 'dh'. Thanks. That's what comes from cutting & pasting previou

Re: BN_print_fp() problem with OpenSSL 0.9.4?

1999-08-16 Thread Dr Stephen Henson
Nicholas Brawn wrote: > > I've just tried out something under the latest openssl library, and it's > coredumping in BN_print() (after i call BN_print_fp). The actual code > snippet is here: > > void > dh_genparams() > { > DH *dh; > FILE *output; > > fprintf(stderr,"Gener

BN_print_fp() problem with OpenSSL 0.9.4?

1999-08-16 Thread Nicholas Brawn
I've just tried out something under the latest openssl library, and it's coredumping in BN_print() (after i call BN_print_fp). The actual code snippet is here: void dh_genparams() { DH *dh; FILE *output; fprintf(stderr,"Generating new DH parameters, please be pati