Lines Matching refs:expected_ct
60 char *expected_ct; /* Optional expected Content-Type */ member
138 OPENSSL_free(rctx->expected_ct); in OSSL_HTTP_REQ_CTX_free()
263 OPENSSL_free(rctx->expected_ct); in OSSL_HTTP_REQ_CTX_set_expected()
264 rctx->expected_ct = NULL; in OSSL_HTTP_REQ_CTX_set_expected()
266 && (rctx->expected_ct = OPENSSL_strdup(content_type)) == NULL) in OSSL_HTTP_REQ_CTX_set_expected()
761 && rctx->expected_ct != NULL) { in OSSL_HTTP_REQ_CTX_nbio()
764 if (OPENSSL_strcasecmp(rctx->expected_ct, value) != 0 in OSSL_HTTP_REQ_CTX_nbio()
766 && (strchr(rctx->expected_ct, ';') != NULL in OSSL_HTTP_REQ_CTX_nbio()
768 || (size_t)(semicolon - value) != strlen(rctx->expected_ct) in OSSL_HTTP_REQ_CTX_nbio()
769 || OPENSSL_strncasecmp(rctx->expected_ct, value, in OSSL_HTTP_REQ_CTX_nbio()
774 rctx->expected_ct, value); in OSSL_HTTP_REQ_CTX_nbio()
839 if (rctx->expected_ct != NULL && !found_expected_ct) { in OSSL_HTTP_REQ_CTX_nbio()
841 "expected=%s", rctx->expected_ct); in OSSL_HTTP_REQ_CTX_nbio()
1215 const char *expected_ct, int expect_asn1, in OSSL_HTTP_get() argument
1251 expected_ct, expect_asn1, max_resp_len, in OSSL_HTTP_get()
1308 const char *expected_ct, int expect_asn1, in OSSL_HTTP_transfer() argument
1322 expected_ct, expect_asn1, in OSSL_HTTP_transfer()