Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 148654 | Differences between
and this patch

Collapse All | Expand All

(-)ssl/s2_clnt.c (-1 / +2 lines)
Lines 520-526 static int get_server_hello(SSL *s) Link Here
520
		CRYPTO_add(&s->session->peer->references, 1, CRYPTO_LOCK_X509);
520
		CRYPTO_add(&s->session->peer->references, 1, CRYPTO_LOCK_X509);
521
		}
521
		}
522
522
523
	if (s->session->peer != s->session->sess_cert->peer_key->x509)
523
	if (s->session->sess_cert == NULL 
524
      || s->session->peer != s->session->sess_cert->peer_key->x509)
524
		/* can't happen */
525
		/* can't happen */
525
		{
526
		{
526
		ssl2_return_error(s, SSL2_PE_UNDEFINED_ERROR);
527
		ssl2_return_error(s, SSL2_PE_UNDEFINED_ERROR);

Return to bug 148654