return(r);
for (i=0; i<num; i+=n) { c=ssl_get_cipher_by_char(s,p); p+=n; if (c != NULL) { if (!sk_SSL_CIPHER_push(sk,c)) { SSLerr(SSL_F_SSL_BYTES_TO_CIPHER_LIST,ERR_R_MALLOC_FAILURE); goto err; } } }  if (skp != NULL) *skp=sk; return(sk); err: if ((skp == NULL) || (*skp == NULL)) sk_SSL_CIPHER_free(sk); return(NULL);
STACK_OF(X509) *SSL_get_peer_cert_chain(SSL *s)	{	STACK_OF(X509) *r;		if ((s == NULL) || (s->session == NULL) || (s->session->sess_cert == NULL))		r=NULL;	else		r=s->session->sess_cert->cert_chain;	/* If we are a client, cert_chain includes the peer's own	 * certificate; if we are a server, it does not. */		return(r);	}