Home
last modified time | relevance | path

Searched refs:serv (Results 1 – 2 of 2) sorted by relevance

/openssl/test/
H A Dssl_test_ctx_test.c50 static int serverconf_eq(SSL_TEST_SERVER_CONF *serv, in serverconf_eq() argument
53 if (!TEST_int_eq(serv->servername_callback, serv2->servername_callback) in serverconf_eq()
54 || !TEST_str_eq(serv->npn_protocols, serv2->npn_protocols) in serverconf_eq()
55 || !TEST_str_eq(serv->alpn_protocols, serv2->alpn_protocols) in serverconf_eq()
56 || !TEST_int_eq(serv->broken_session_ticket, in serverconf_eq()
58 || !TEST_str_eq(serv->session_ticket_app_data, in serverconf_eq()
60 || !TEST_int_eq(serv->cert_status, serv2->cert_status)) in serverconf_eq()
/openssl/crypto/bio/
H A Dbio_addr.c237 char host[NI_MAXHOST] = "", serv[NI_MAXSERV] = ""; in addr_strings() local
245 host, sizeof(host), serv, sizeof(serv), in addr_strings()
265 if (serv[0] == '\0') { in addr_strings()
266 BIO_snprintf(serv, sizeof(serv), "%d", in addr_strings()
273 *service = OPENSSL_strdup(serv); in addr_strings()
279 char serv[6]; /* port is 16 bits => max 5 decimal digits */ in addr_strings() local
280 BIO_snprintf(serv, sizeof(serv), "%d", ntohs(ap->s_in.sin_port)); in addr_strings()
281 *service = OPENSSL_strdup(serv); in addr_strings()

Completed in 7 milliseconds