I think BIO_set_ssl_renegotiate_bytes should do what you are asking (assuming 
you enable SSL renegotiation).  You could also trigger the renegotiation via 
your application using SSL_renegotiate.


....................................
Erik Tkal
Juniper OAC/UAC/Pulse Development


-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of [email protected]
Sent: Saturday, December 03, 2011 2:11 PM
To: [email protected]
Subject: API to set rekey limit?

Hello.
 
Is there an API call to configure a SSL session such that it will initiate a 
rekey after <n> number of bytes?  Or is it always set to a fixed amount based 
on the length of the key?  (I believe it is 2^(L/4) where L is the length of 
the key.)
 
Thank you.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to