Searched refs:pref_cipher (Results 1 – 2 of 2) sorted by relevance
1934 const SSL_CIPHER *pref_cipher = NULL; in tls_early_post_process_client_hello() local1944 &pref_cipher, in tls_early_post_process_client_hello()1955 if (pref_cipher == NULL) in tls_early_post_process_client_hello()1956 pref_cipher = ssl3_choose_cipher(s, s->peer_ciphers, in tls_early_post_process_client_hello()1958 if (pref_cipher == NULL) { in tls_early_post_process_client_hello()1965 s->session->cipher = pref_cipher; in tls_early_post_process_client_hello()
1565 const SSL_CIPHER *pref_cipher = NULL; in tls_process_server_hello() local1574 NULL, &pref_cipher, in tls_process_server_hello()1578 s->session->cipher = pref_cipher ? in tls_process_server_hello()1579 pref_cipher : ssl_get_cipher_by_char(s, cipherchars, 0); in tls_process_server_hello()