Home
last modified time | relevance | path

Searched refs:expected_name (Results 1 – 10 of 10) sorted by relevance

/freebsd/crypto/krb5/src/plugins/tls/k5tls/
H A Dopenssl.c275 check_cert_name_or_ip(X509 *x, const char *expected_name) in check_cert_name_or_ip() argument
280 if (inet_pton(AF_INET, expected_name, &in) != 0 || in check_cert_name_or_ip()
281 inet_pton(AF_INET6, expected_name, &in6) != 0) { in check_cert_name_or_ip()
282 return check_cert_address(x, expected_name); in check_cert_name_or_ip()
284 return check_cert_servername(x, expected_name); in check_cert_name_or_ip()
297 const char *cert = NULL, *errstr, *expected_name; in verify_callback() local
332 expected_name = handle->servername; in verify_callback()
333 if (check_cert_name_or_ip(x, expected_name)) { in verify_callback()
334 TRACE_TLS_SERVER_NAME_MATCH(context, expected_name); in verify_callback()
337 TRACE_TLS_SERVER_NAME_MISMATCH(context, expected_name); in verify_callback()
/freebsd/crypto/krb5/src/lib/krb5/ccache/
H A Dt_cccol.c137 check_name(krb5_ccache cache, const char *expected_name) in check_name() argument
142 assert(strcmp(name, expected_name) == 0); in check_name()
149 check_primary_name(const char *collection_name, const char *expected_name) in check_primary_name() argument
154 check_name(cache, expected_name); in check_primary_name()
180 check_match(krb5_principal princ, const char *expected_name) in check_match() argument
184 if (expected_name != NULL) { in check_match()
186 check_name(cache, expected_name); in check_match()
/freebsd/contrib/file/python/
H A Dtests.py13 expected_name = 'Python script, ASCII text executable' variable in MagicTestCase
18 self.assertEqual(result.name, self.expected_name)
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DAppleDWARFIndex.cpp231 llvm::StringRef expected_name = context[0].name; in GetTypes() local
239 SearchFor(*m_apple_types_up, expected_name, callback, expected_tag, in GetTypes()
246 SearchFor(*m_apple_names_up, expected_name, callback); in GetTypes()
265 SearchFor(*m_apple_types_up, expected_name, callback, expected_tag); in GetTypes()
/freebsd/crypto/krb5/src/ccapi/test/
H A Dtest_ccapi_v2.h34 cc_int32 check_once_cc_get_name(apiCB *context, ccache_p *ccache, const char *expected_name, cc_int…
60 const char *expected_name,
H A Dtest_ccapi_ccache.h15 cc_int32 check_once_cc_ccache_get_name(cc_ccache_t ccache, const char *expected_name, cc_int32 expe…
H A Dtest_ccapi_ccache.c423 cc_int32 check_once_cc_ccache_get_name(cc_ccache_t ccache, const char *expected_name, cc_int32 expe… in check_once_cc_ccache_get_name() argument
441 if (expected_name == NULL) { // we want to try with a NULL param in check_once_cc_ccache_get_name()
452 check_if(strcmp(stored_name->data, expected_name), NULL); in check_once_cc_ccache_get_name()
H A Dtest_ccapi_v2.c769 cc_int32 check_once_cc_get_name(apiCB *context, ccache_p *ccache, const char *expected_name, cc_int… in check_once_cc_get_name() argument
785 if (expected_name == NULL) { // we want to try with a NULL param in check_once_cc_get_name()
796 check_if(strcmp(stored_name, expected_name), NULL); in check_once_cc_get_name()
/freebsd/contrib/wpa/hs20/client/
H A Dspp_client.c42 const char *expected_name) in hs20_spp_validate() argument
56 if (strcmp(expected_name, name) != 0) { in hs20_spp_validate()
58 name, expected_name); in hs20_spp_validate()
60 name, expected_name); in hs20_spp_validate()
/freebsd/contrib/expat/tests/
H A Dhandlers.h514 # define assert_record_handler_called(storage, index, expected_name, \ argument
519 assert_true(strcmp(e->name, expected_name) == 0); \