automatic renegotiation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm looking for automatic periodical renegotiation code example.

I found one in group archives:

SSL_CTX* ctx;
BIO* bio = BIO_new_ssl(ctx, false);
BIO_push(bio, BIO_new_socket((int)fd, 0);
BIO_set_ssl_renegotiate_bytes(bio, bytes);
BIO_set_ssl_renegotiate_timeout(bio, seconds);

but it is not working for me - BIO_get_num_renegotiates(bio) always returns 0.

Are there any specific prerequisites to get it working? Or do you have any other
example.

--

Michal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20160224/b42ce9d6/attachment.html>


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux