summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtchang%redhat.com <devnull@localhost>2005-10-14 16:48:58 +0000
committerwtchang%redhat.com <devnull@localhost>2005-10-14 16:48:58 +0000
commit23dfa8a7087f2310f077ef85e6c9ef37cf0b74c3 (patch)
treeff071791f80e06c40372e4418451fde594e83d3f
parent3b894285e04accc7ae128ac824a028fe18193936 (diff)
downloadnss-hg-23dfa8a7087f2310f077ef85e6c9ef37cf0b74c3.tar.gz
Bugzilla bug 311440: ssl3_ConsumeHandshakeVariable now longer returns a
SECItem pointing to memory allocated with PORT_Alloc, so we don't need to use PORT_Free to free the SECItem's buffer. r=nelsonb.
-rw-r--r--security/nss/lib/ssl/ssl3ecc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/security/nss/lib/ssl/ssl3ecc.c b/security/nss/lib/ssl/ssl3ecc.c
index 9edbe9122..af7cdb30f 100644
--- a/security/nss/lib/ssl/ssl3ecc.c
+++ b/security/nss/lib/ssl/ssl3ecc.c
@@ -375,8 +375,6 @@ ssl3_HandleECDHClientKeyExchange(sslSocket *ss, SSL3Opaque *b,
CKM_ECDH1_DERIVE, target, CKA_DERIVE, 0,
kdf, NULL, NULL);
- PORT_Free(clntPubKey.u.ec.publicValue.data);
-
if (pms == NULL) {
/* last gasp. */
ssl_MapLowLevelError(SSL_ERROR_CLIENT_KEY_EXCHANGE_FAILURE);