From: Bodo Möller Date: Thu, 13 Oct 2011 13:25:03 +0000 (+0000) Subject: Clarify warning X-Git-Tag: OpenSSL_1_0_1-beta1~120 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=79571bb1cad47143b6783ed1436412ae0ea9c938;p=oweals%2Fopenssl.git Clarify warning --- diff --git a/doc/ssl/SSL_clear.pod b/doc/ssl/SSL_clear.pod index 8e077e31c9..d4df1bfac3 100644 --- a/doc/ssl/SSL_clear.pod +++ b/doc/ssl/SSL_clear.pod @@ -39,10 +39,16 @@ for a description of the method's properties. SSL_clear() resets the SSL object to allow for another connection. The reset operation however keeps several settings of the last sessions (some of these settings were made automatically during the last -handshake). It only makes sense when opening a new session (or reusing -an old one) with the same peer that shares these settings. -SSL_clear() is not a short form for the sequence -L; L; . +handshake). It only makes sense for a new connection with the exact +same peer that shares these settings, and may fail if that peer +changes its settings between connections. Use the sequence +L; +L; +L; +L +instead to avoid such failures +(or simply L; L +if session reuse is not desired). =head1 RETURN VALUES