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: owner-openssl-...@openssl.org [mailto:owner-openssl-...@openssl.org] On 
Behalf Of no_spam...@yahoo.com
Sent: Saturday, December 03, 2011 2:11 PM
To: openssl-dev@openssl.org
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                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to