s3_srvr.c (68651) | s3_srvr.c (72613) |
---|---|
1/* ssl/s3_srvr.c */ 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 3 * All rights reserved. 4 * 5 * This package is an SSL implementation written 6 * by Eric Young (eay@cryptsoft.com). 7 * The implementation was written so as to conform with Netscapes SSL. 8 * --- 1400 unchanged lines hidden (view full) --- 1409 DH_free(s->s3->tmp.dh); 1410 s->s3->tmp.dh=NULL; 1411 1412 BN_clear_free(pub); 1413 pub=NULL; 1414 s->session->master_key_length= 1415 s->method->ssl3_enc->generate_master_secret(s, 1416 s->session->master_key,p,i); | 1/* ssl/s3_srvr.c */ 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 3 * All rights reserved. 4 * 5 * This package is an SSL implementation written 6 * by Eric Young (eay@cryptsoft.com). 7 * The implementation was written so as to conform with Netscapes SSL. 8 * --- 1400 unchanged lines hidden (view full) --- 1409 DH_free(s->s3->tmp.dh); 1410 s->s3->tmp.dh=NULL; 1411 1412 BN_clear_free(pub); 1413 pub=NULL; 1414 s->session->master_key_length= 1415 s->method->ssl3_enc->generate_master_secret(s, 1416 s->session->master_key,p,i); |
1417 memset(p,0,i); |
|
1417 } 1418 else 1419#endif 1420 { 1421 al=SSL_AD_HANDSHAKE_FAILURE; 1422 SSLerr(SSL_F_SSL3_GET_CLIENT_KEY_EXCHANGE,SSL_R_UNKNOWN_CIPHER_TYPE); 1423 goto f_err; 1424 } --- 330 unchanged lines hidden --- | 1418 } 1419 else 1420#endif 1421 { 1422 al=SSL_AD_HANDSHAKE_FAILURE; 1423 SSLerr(SSL_F_SSL3_GET_CLIENT_KEY_EXCHANGE,SSL_R_UNKNOWN_CIPHER_TYPE); 1424 goto f_err; 1425 } --- 330 unchanged lines hidden --- |