Home
last modified time | relevance | path

Searched refs:expected_ct (Results 1 - 3 of 3) sorted by relevance

/third_party/node/deps/openssl/openssl/crypto/http/
H A Dhttp_client.c59 char *expected_ct; /* Optional expected Content-Type */ member
133 OPENSSL_free(rctx->expected_ct); in OSSL_HTTP_REQ_CTX_free()
258 OPENSSL_free(rctx->expected_ct); in OSSL_HTTP_REQ_CTX_set_expected()
259 rctx->expected_ct = NULL; in OSSL_HTTP_REQ_CTX_set_expected()
261 && (rctx->expected_ct = OPENSSL_strdup(content_type)) == NULL) in OSSL_HTTP_REQ_CTX_set_expected()
711 if (rctx->state == OHS_HEADERS && rctx->expected_ct != NULL in OSSL_HTTP_REQ_CTX_nbio()
713 if (OPENSSL_strcasecmp(rctx->expected_ct, value) != 0) { in OSSL_HTTP_REQ_CTX_nbio()
716 rctx->expected_ct, value); in OSSL_HTTP_REQ_CTX_nbio()
762 if (rctx->expected_ct != NULL && !found_expected_ct) { in OSSL_HTTP_REQ_CTX_nbio()
764 "expected=%s", rctx->expected_ct); in OSSL_HTTP_REQ_CTX_nbio()
1123 OSSL_HTTP_get(const char *url, const char *proxy, const char *no_proxy, BIO *bio, BIO *rbio, OSSL_HTTP_bio_cb_t bio_update_fn, void *arg, int buf_size, const STACK_OF(CONF_VALUE) *headers, const char *expected_ct, int expect_asn1, size_t max_resp_len, int timeout) OSSL_HTTP_get() argument
1212 OSSL_HTTP_transfer(OSSL_HTTP_REQ_CTX **prctx, const char *server, const char *port, const char *path, int use_ssl, const char *proxy, const char *no_proxy, BIO *bio, BIO *rbio, OSSL_HTTP_bio_cb_t bio_update_fn, void *arg, int buf_size, const STACK_OF(CONF_VALUE) *headers, const char *content_type, BIO *req, const char *expected_ct, int expect_asn1, size_t max_resp_len, int timeout, int keep_alive) OSSL_HTTP_transfer() argument
[all...]
/third_party/openssl/crypto/http/
H A Dhttp_client.c59 char *expected_ct; /* Optional expected Content-Type */ member
133 OPENSSL_free(rctx->expected_ct); in OSSL_HTTP_REQ_CTX_free()
251 OPENSSL_free(rctx->expected_ct); in OSSL_HTTP_REQ_CTX_set_expected()
252 rctx->expected_ct = NULL; in OSSL_HTTP_REQ_CTX_set_expected()
254 && (rctx->expected_ct = OPENSSL_strdup(content_type)) == NULL) in OSSL_HTTP_REQ_CTX_set_expected()
700 if (rctx->state == OHS_HEADERS && rctx->expected_ct != NULL in OSSL_HTTP_REQ_CTX_nbio()
702 if (OPENSSL_strcasecmp(rctx->expected_ct, value) != 0) { in OSSL_HTTP_REQ_CTX_nbio()
705 rctx->expected_ct, value); in OSSL_HTTP_REQ_CTX_nbio()
751 if (rctx->expected_ct != NULL && !found_expected_ct) { in OSSL_HTTP_REQ_CTX_nbio()
753 "expected=%s", rctx->expected_ct); in OSSL_HTTP_REQ_CTX_nbio()
1112 OSSL_HTTP_get(const char *url, const char *proxy, const char *no_proxy, BIO *bio, BIO *rbio, OSSL_HTTP_bio_cb_t bio_update_fn, void *arg, int buf_size, const STACK_OF(CONF_VALUE) *headers, const char *expected_ct, int expect_asn1, size_t max_resp_len, int timeout) OSSL_HTTP_get() argument
1201 OSSL_HTTP_transfer(OSSL_HTTP_REQ_CTX **prctx, const char *server, const char *port, const char *path, int use_ssl, const char *proxy, const char *no_proxy, BIO *bio, BIO *rbio, OSSL_HTTP_bio_cb_t bio_update_fn, void *arg, int buf_size, const STACK_OF(CONF_VALUE) *headers, const char *content_type, BIO *req, const char *expected_ct, int expect_asn1, size_t max_resp_len, int timeout, int keep_alive) OSSL_HTTP_transfer() argument
[all...]
/third_party/python/Lib/test/
H A Dtest_socket.py6415 expected_ct = bytes.fromhex('93fe7d9e9bfd10348a5606e5cafa7354')
6434 self.assertEqual(expected_ct, res[assoclen:-taglen])
6444 self.assertEqual(expected_ct, res[assoclen:-taglen])
6460 self.assertEqual(expected_ct, res[assoclen:-taglen])
6466 msg = assoc + expected_ct + expected_tag

Completed in 12 milliseconds