зеркало из https://github.com/mozilla/pjs.git
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.
This commit is contained in:
Родитель
cecf9b9bf8
Коммит
f1ab1aa413
|
@ -40,7 +40,7 @@
|
|||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
/* ECC code moved here from ssl3con.c */
|
||||
/* $Id: ssl3ecc.c,v 1.2 2005-09-09 03:02:16 nelsonb%netscape.com Exp $ */
|
||||
/* $Id: ssl3ecc.c,v 1.3 2005-10-14 16:48:58 wtchang%redhat.com Exp $ */
|
||||
|
||||
#ifdef NSS_ENABLE_ECC
|
||||
|
||||
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче