Home
last modified time | relevance | path

Searched refs:client_cert_type (Results 1 – 13 of 13) sorted by relevance

/freebsd/crypto/openssl/test/helpers/
H A Dhandshake.h68 int client_cert_type; member
H A Dhandshake.c1729 ret->client_cert_type = peer_pkey_type(server.ssl); in do_handshake_internal()
/freebsd/crypto/openssl/test/
H A Dext_internal_test.c64 EXT_ENTRY(client_cert_type),
H A Dssl_test.c320 result->client_cert_type); in check_client_cert_type()
/freebsd/crypto/openssl/ssl/statem/
H A Dextensions_srvr.c2292 if (sc->ext.client_cert_type == TLSEXT_cert_type_x509) { in tls_construct_stoc_client_cert_type()
2303 || sc->client_cert_type == NULL) { in tls_construct_stoc_client_cert_type()
2306 sc->ext.client_cert_type = TLSEXT_cert_type_x509; in tls_construct_stoc_client_cert_type()
2312 || !WPACKET_put_bytes_u8(pkt, sc->ext.client_cert_type) in tls_construct_stoc_client_cert_type()
2345 if (sc->client_cert_type == NULL) { in tls_parse_ctos_client_cert_type()
2347 sc->ext.client_cert_type = TLSEXT_cert_type_x509; in tls_parse_ctos_client_cert_type()
2368 sc->client_cert_type, sc->client_cert_type_len, in tls_parse_ctos_client_cert_type()
2369 &sc->ext.client_cert_type); in tls_parse_ctos_client_cert_type()
H A Dextensions_clnt.c2175 if (sc->client_cert_type == NULL) in tls_construct_ctos_client_cert_type()
2180 || !WPACKET_sub_memcpy_u8(pkt, sc->client_cert_type, sc->client_cert_type_len) in tls_construct_ctos_client_cert_type()
2209 if (sc->client_cert_type == NULL) { in tls_parse_stoc_client_cert_type()
2214 if (memchr(sc->client_cert_type, type, sc->client_cert_type_len) == NULL) { in tls_parse_stoc_client_cert_type()
2218 sc->ext.client_cert_type = type; in tls_parse_stoc_client_cert_type()
H A Dextensions.c1822 if (!sc->server && sc->ext.client_cert_type != TLSEXT_cert_type_x509) in tls_parse_compress_certificate()
1871 sc->ext.client_cert_type = TLSEXT_cert_type_x509; in init_client_cert_type()
H A Dstatem_clnt.c430 return sc->ext.client_cert_type == TLSEXT_cert_type_x509 in do_compressed_cert()
3831 switch (s->ext.client_cert_type) { in tls_construct_client_certificate()
H A Dstatem_srvr.c3675 if (s->ext.client_cert_type == TLSEXT_cert_type_rpk) in tls_process_client_certificate()
3678 if (s->ext.client_cert_type != TLSEXT_cert_type_x509) { in tls_process_client_certificate()
/freebsd/crypto/openssl/ssl/
H A Dssl_lib.c936 if (ctx->client_cert_type != NULL) { in ossl_ssl_connection_new_int()
937 s->client_cert_type = OPENSSL_memdup(ctx->client_cert_type, in ossl_ssl_connection_new_int()
939 if (s->client_cert_type == NULL) in ossl_ssl_connection_new_int()
1511 OPENSSL_free(s->client_cert_type); in ossl_ssl_connection_free()
4442 OPENSSL_free(a->client_cert_type); in SSL_CTX_free()
5238 if (sc->client_cert_type != NULL) { in SSL_dup()
5239 OPENSSL_free(retsc->client_cert_type); in SSL_dup()
5240 retsc->client_cert_type = OPENSSL_memdup(sc->client_cert_type, in SSL_dup()
5242 if (retsc->client_cert_type == NULL) in SSL_dup()
8202 return sc->ext.client_cert_type; in SSL_get_negotiated_client_cert_type()
[all …]
H A Dssl_local.h1191 unsigned char *client_cert_type; member
1733 uint8_t client_cert_type; member
1859 unsigned char *client_cert_type; member
2478 || (!sc->server && sc->ext.client_cert_type == TLSEXT_cert_type_rpk)) in tls12_rpk_and_privkey()
2492 ptr = sc->client_cert_type; in ssl_has_cert_type()
H A Dt1_trce.c1391 || (!server && sc->ext.client_cert_type == TLSEXT_cert_type_rpk)) { in ssl_print_certificates()
H A Dt1_lib.c4449 if (TLSEXT_cert_type_rpk == (s->server ? s->ext.server_cert_type : s->ext.client_cert_type)) in check_cert_usable()