Fix for bug 257860 . Correct doc for SSL_SecurityStatus . r=nelson
Wed, 11 Jul 2007 03:09:14 +0000
changeset 7921 768777f27c008fd6dfe1c0992fc713424b287028
parent 7919 1794cdfc5f42640a8bad3ce9f16725dda6c178d7
child 7922 ee95cbd51290fcc446121acb055abc106064f03c
push idunknown
push userunknown
push dateunknown
Fix for bug 257860 . Correct doc for SSL_SecurityStatus . r=nelson
--- a/security/nss/lib/ssl/ssl.h
+++ b/security/nss/lib/ssl/ssl.h
@@ -182,17 +182,17 @@ SSL_IMPORT SECStatus SSL_ForceHandshakeW
 ** Query security status of socket. *on is set to one if security is
 ** enabled. *keySize will contain the stream key size used. *issuer will
 ** contain the RFC1485 verison of the name of the issuer of the
 ** certificate at the other end of the connection. For a client, this is
 ** the issuer of the server's certificate; for a server, this is the
 ** issuer of the client's certificate (if any). Subject is the subject of
 ** the other end's certificate. The pointers can be zero if the desired
 ** data is not needed.  All strings returned by this function are owned
-** by SSL, and will be freed when the socket is closed.
+** by the caller, and need to be freed with PORT_Free.
 SSL_IMPORT SECStatus SSL_SecurityStatus(PRFileDesc *fd, int *on, char **cipher,
 			                int *keySize, int *secretKeySize,
 			                char **issuer, char **subject);
 /* Values for "on" */