Deleted Added
full compact
s3_clnt.c (68651) s3_clnt.c (72613)
1/* ssl/s3_clnt.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 *

--- 801 unchanged lines hidden (view full) ---

810 X509_free(sc->peer_pkeys[i].x509);
811 sc->peer_pkeys[i].x509=x;
812 sc->peer_key= &(sc->peer_pkeys[i]);
813
814 if (s->session->peer != NULL)
815 X509_free(s->session->peer);
816 CRYPTO_add(&x->references,1,CRYPTO_LOCK_X509);
817 s->session->peer=x;
1/* ssl/s3_clnt.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 *

--- 801 unchanged lines hidden (view full) ---

810 X509_free(sc->peer_pkeys[i].x509);
811 sc->peer_pkeys[i].x509=x;
812 sc->peer_key= &(sc->peer_pkeys[i]);
813
814 if (s->session->peer != NULL)
815 X509_free(s->session->peer);
816 CRYPTO_add(&x->references,1,CRYPTO_LOCK_X509);
817 s->session->peer=x;
818 s->session->verify_result = s->verify_result;
818
819 x=NULL;
820 ret=1;
821
822 if (0)
823 {
824f_err:
825 ssl3_send_alert(s,SSL3_AL_FATAL,al);

--- 915 unchanged lines hidden ---
819
820 x=NULL;
821 ret=1;
822
823 if (0)
824 {
825f_err:
826 ssl3_send_alert(s,SSL3_AL_FATAL,al);

--- 915 unchanged lines hidden ---