Home
last modified time | relevance | path

Searched refs:hostflags (Results 1 - 9 of 9) sorted by relevance

/third_party/rust/crates/rust-openssl/openssl/src/x509/
H A Dverify.rs88 pub fn set_hostflags(&mut self, hostflags: X509CheckFlags) { in set_hostflags()
90 ffi::X509_VERIFY_PARAM_set_hostflags(self.as_ptr(), hostflags.bits); in set_hostflags()
/third_party/node/deps/openssl/openssl/crypto/x509/
H A Dx509_vpm.c195 x509_verify_param_copy(hostflags, 0); in X509_VERIFY_PARAM_inherit()
401 param->hostflags = flags; in X509_VERIFY_PARAM_set_hostflags()
406 return param->hostflags; in X509_VERIFY_PARAM_get_hostflags()
H A Dx509_local.h33 unsigned int hostflags; /* Flags to control matching features */ member
H A Dx509_vfy.c741 && (ctx->param->hostflags in check_name_constraints()
743 && ((ctx->param->hostflags in check_name_constraints()
782 if (X509_check_host(x, name, 0, vpm->hostflags, &vpm->peername) > 0) in check_hosts()
/third_party/openssl/crypto/x509/
H A Dx509_vpm.c195 x509_verify_param_copy(hostflags, 0); in X509_VERIFY_PARAM_inherit()
398 param->hostflags = flags; in X509_VERIFY_PARAM_set_hostflags()
403 return param->hostflags; in X509_VERIFY_PARAM_get_hostflags()
H A Dx509_local.h33 unsigned int hostflags; /* Flags to control matching features */ member
H A Dx509_vfy.c741 && (ctx->param->hostflags in check_name_constraints()
743 && ((ctx->param->hostflags in check_name_constraints()
782 if (X509_check_host(x, name, 0, vpm->hostflags, &vpm->peername) > 0) in check_hosts()
/third_party/python/Modules/
H A D_ssl.c283 /* OpenSSL has no API to get hostflags from X509_VERIFY_PARAM* struct.
284 * We have to maintain our own copy. OpenSSL's hostflags default to 0.
286 unsigned int hostflags; member
837 /* bpo43522 and OpenSSL < 1.1.1l: copy hostflags manually */ in newPySSLSocket()
840 X509_VERIFY_PARAM_set_hostflags(ssl_params, sslctx->hostflags); in newPySSLSocket()
3104 self->hostflags = X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS; in _ssl__SSLContext_impl()
3200 X509_VERIFY_PARAM_set_hostflags(params, self->hostflags); in _ssl__SSLContext_impl()
3654 return PyLong_FromUnsignedLong(self->hostflags); in get_host_flags()
3667 self->hostflags = new_flags; in set_host_flags()
/third_party/openssl/test/
H A Dsslapitest.c10158 int hostflags = X509_CHECK_FLAG_NEVER_CHECK_SUBJECT; in test_inherit_verify_param() local
10170 X509_VERIFY_PARAM_set_hostflags(cp, hostflags); in test_inherit_verify_param()
10179 if (!TEST_int_eq(X509_VERIFY_PARAM_get_hostflags(sp), hostflags)) in test_inherit_verify_param()

Completed in 39 milliseconds