X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=ssl%2Fssl_lib.c;h=f5512c465e42c4cf99b0dd63f2cf7e66530d5bda;hp=89c3c2d4f498460ea8b625b9fdc0f229844085d0;hb=6b0e9facf4a24553b01c536bb2981c8eb1b7c136;hpb=c404ff795549d82d8cb6fcfaf8b7932961b3f694 diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index 89c3c2d4f4..f5512c465e 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -836,6 +836,13 @@ int SSL_renegotiate(SSL *s) return(s->method->ssl_renegotiate(s)); } +int SSL_renegotiate_pending(SSL *s) + { + /* becomes true when negotiation is requested; + * false again once a handshake has finished */ + return (s->new_session != 0); + } + long SSL_ctrl(SSL *s,int cmd,long larg,char *parg) { long l;