I'm attempting to negotiate a tls session between a client and a server,
and am getting a strange error.
SSL_accept: error:::lib(0) :func(0) :reason(0)
The server code snippet is as follows:
p->tls = SSL_new(p->ctx);
if (SSL_set_fd(p->tls, fileno(stdin)) <= 0)
{
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
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