Searched refs:server_cert_type (Results 1 – 12 of 12) sorted by relevance
/openssl/test/helpers/ |
H A D | handshake.h | 60 int server_cert_type; member
|
H A D | handshake.c | 1732 ret->server_cert_type = peer_pkey_type(client.ssl); in do_handshake_internal()
|
/openssl/test/ |
H A D | ext_internal_test.c | 65 EXT_ENTRY(server_cert_type),
|
H A D | ssl_test.c | 291 result->server_cert_type); in check_server_cert_type()
|
/openssl/ssl/statem/ |
H A D | extensions_srvr.c | 2080 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 D | extensions_clnt.c | 2155 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 D | extensions.c | 1819 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 D | statem_clnt.c | 1974 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 D | statem_srvr.c | 458 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 D | ssl_local.h | 1181 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 D | ssl_lib.c | 908 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 D | t1_trce.c | 1363 if ((server && sc->ext.server_cert_type == TLSEXT_cert_type_rpk) in ssl_print_certificates()
|
Completed in 175 milliseconds