Home
last modified time | relevance | path

Searched refs:server_cert_type (Results 1 – 12 of 12) sorted by relevance

/openssl/test/helpers/
H A Dhandshake.h60 int server_cert_type; member
H A Dhandshake.c1732 ret->server_cert_type = peer_pkey_type(client.ssl); in do_handshake_internal()
/openssl/test/
H A Dext_internal_test.c65 EXT_ENTRY(server_cert_type),
H A Dssl_test.c291 result->server_cert_type); in check_server_cert_type()
/openssl/ssl/statem/
H A Dextensions_srvr.c2080 if (sc->ext.server_cert_type == TLSEXT_cert_type_x509) { in tls_construct_stoc_server_cert_type()
2085 || sc->server_cert_type == NULL) { in tls_construct_stoc_server_cert_type()
2088 sc->ext.server_cert_type = TLSEXT_cert_type_x509; in tls_construct_stoc_server_cert_type()
2094 || !WPACKET_put_bytes_u8(pkt, sc->ext.server_cert_type) in tls_construct_stoc_server_cert_type()
2111 if (sc->server_cert_type == NULL) { in tls_parse_ctos_server_cert_type()
2113 sc->ext.server_cert_type = TLSEXT_cert_type_x509; in tls_parse_ctos_server_cert_type()
2131 …sc->ext.server_cert_type_ctos = reconcile_cert_type(sc->server_cert_type, sc->server_cert_type_len, in tls_parse_ctos_server_cert_type()
2133 &sc->ext.server_cert_type); in tls_parse_ctos_server_cert_type()
H A Dextensions_clnt.c2155 if (sc->server_cert_type == NULL) in tls_construct_ctos_server_cert_type()
2160 || !WPACKET_sub_memcpy_u8(pkt, sc->server_cert_type, sc->server_cert_type_len) in tls_construct_ctos_server_cert_type()
2189 if (sc->server_cert_type == NULL) { in tls_parse_stoc_server_cert_type()
2194 if (memchr(sc->server_cert_type, type, sc->server_cert_type_len) == NULL) { in tls_parse_stoc_server_cert_type()
2198 sc->ext.server_cert_type = type; in tls_parse_stoc_server_cert_type()
H A Dextensions.c1819 if (sc->server && sc->ext.server_cert_type != TLSEXT_cert_type_x509) { in tls_construct_compress_certificate()
1895 if (sc->server && sc->ext.server_cert_type != TLSEXT_cert_type_x509) in tls_parse_compress_certificate()
1932 sc->ext.server_cert_type = TLSEXT_cert_type_x509; in init_server_cert_type()
H A Dstatem_clnt.c1974 if (s->ext.server_cert_type == TLSEXT_cert_type_rpk) in tls_process_server_certificate()
1976 if (s->ext.server_cert_type != TLSEXT_cert_type_x509) { in tls_process_server_certificate()
2069 if (s->ext.server_cert_type == TLSEXT_cert_type_rpk) in tls_post_process_server_certificate()
H A Dstatem_srvr.c458 return sc->ext.server_cert_type == TLSEXT_cert_type_x509 in do_compressed_cert()
3833 switch (s->ext.server_cert_type) { in tls_construct_server_certificate()
/openssl/ssl/
H A Dssl_local.h1181 unsigned char *server_cert_type; member
1681 uint8_t server_cert_type; member
1807 unsigned char *server_cert_type; member
2433 return ((sc->server && sc->ext.server_cert_type == TLSEXT_cert_type_rpk) in tls12_rpk_and_privkey()
2445 ptr = sc->server_cert_type; in ssl_has_cert_type()
H A Dssl_lib.c908 if (ctx->server_cert_type != NULL) { in ossl_ssl_connection_new_int()
909 s->server_cert_type = OPENSSL_memdup(ctx->server_cert_type, in ossl_ssl_connection_new_int()
911 if (s->server_cert_type == NULL) in ossl_ssl_connection_new_int()
1470 OPENSSL_free(s->server_cert_type); in ossl_ssl_connection_free()
4365 OPENSSL_free(a->server_cert_type); in SSL_CTX_free()
7907 return sc->ext.server_cert_type; in SSL_get_negotiated_server_cert_type()
7974 return set_cert_type(&sc->server_cert_type, &sc->server_cert_type_len, in SSL_set1_server_cert_type()
7986 return set_cert_type(&ctx->server_cert_type, &ctx->server_cert_type_len, in SSL_CTX_set1_server_cert_type()
8009 *t = sc->server_cert_type; in SSL_get0_server_cert_type()
8029 *t = ctx->server_cert_type; in SSL_CTX_get0_server_cert_type()
H A Dt1_trce.c1363 if ((server && sc->ext.server_cert_type == TLSEXT_cert_type_rpk) in ssl_print_certificates()

Completed in 108 milliseconds