Home
last modified time | relevance | path

Searched refs:max_proto_version (Results 1 – 7 of 7) sorted by relevance

/freebsd/crypto/openssl/test/helpers/
H A Dssltestlib.c815 int max_proto_version, SSL_CTX **sctx, SSL_CTX **cctx, in create_ssl_ctx_pair() argument
844 if (max_proto_version == 0 in create_ssl_ctx_pair()
846 max_proto_version = TLS1_2_VERSION; in create_ssl_ctx_pair()
853 || (max_proto_version > 0 in create_ssl_ctx_pair()
855 max_proto_version))))) in create_ssl_ctx_pair()
861 || (max_proto_version > 0 in create_ssl_ctx_pair()
863 max_proto_version))))) in create_ssl_ctx_pair()
H A Dssltestlib.h17 int max_proto_version, SSL_CTX **sctx, SSL_CTX **cctx,
/freebsd/crypto/openssl/ssl/
H A Dssl_lib.c717 s->max_proto_version = ctx->max_proto_version; in SSL_new()
2455 return ssl_check_allowed_versions(larg, s->max_proto_version) in SSL_ctrl()
2463 &s->max_proto_version); in SSL_ctrl()
2465 return s->max_proto_version; in SSL_ctrl()
2604 return ssl_check_allowed_versions(larg, ctx->max_proto_version) in SSL_CTX_ctrl()
2612 &ctx->max_proto_version); in SSL_CTX_ctrl()
2614 return ctx->max_proto_version; in SSL_CTX_ctrl()
3267 ret->max_proto_version = 0; in SSL_CTX_new_ex()
4122 ret->max_proto_version = s->max_proto_version; in SSL_dup()
H A Dssl_conf.c1060 cctx->max_version = &ssl->max_proto_version; in SSL_CONF_CTX_set_ssl()
1079 cctx->max_version = &ctx->max_proto_version; in SSL_CONF_CTX_set_ssl_ctx()
H A Dssl_local.h973 int max_proto_version; member
1558 int max_proto_version; member
/freebsd/crypto/openssl/ssl/statem/
H A Dstatem_lib.c1503 if (s->max_proto_version != 0 && in ssl_method_error()
1504 version_cmp(s, version, s->max_proto_version) > 0) in ssl_method_error()
/freebsd/crypto/openssl/ssl/record/
H A Drec_layer_d1.c860 s->max_proto_version != DTLS1_BAD_VER) { in do_dtls1_write()