]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
OSSL_HTTP_REQ_CTX.pod: tweak description of 'expect_asn1' parameter of OSSL_HTTP_REQ_...
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Tue, 28 Jun 2022 15:23:45 +0000 (17:23 +0200)
committerDr. David von Oheimb <dev@ddvo.net>
Wed, 10 Jun 2026 06:26:54 +0000 (08:26 +0200)
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
MergeDate: Wed Jun 10 06:27:02 2026
(Merged from https://github.com/openssl/openssl/pull/27357)

doc/man3/OSSL_HTTP_REQ_CTX.pod

index e530d1b3fb09380c9ae3a3b81ff3a10c86458ef4..88e90c2330bd792c569ccf6bf04d629b4348c1cc 100644 (file)
@@ -111,10 +111,10 @@ in the header line, followed by a C<;> character and any further text.
 For instance, if the I<expected_content_type> argument specifies C<text/html>,
 this is matched by C<Text/HTML>, C<text/html; charset=UTF-8>, etc.
 
-If the I<expect_asn1> parameter is nonzero a structure in ASN.1 encoding will be
-expected as the response content and input streaming is disabled.  This means
-that an ASN.1 sequence header is required, its length field is checked, and
-OSSL_HTTP_REQ_CTX_get0_mem_bio() should be used to get the buffered response.
+If the I<expect_asn1> parameter is nonzero, a structure in ASN.1 DER/BER encoding
+will be expected as the response content and input streaming is disabled.
+This means that an ASN.1 sequence header is required, its length field is checked,
+and OSSL_HTTP_REQ_CTX_get0_mem_bio() should be used to get the buffered response.
 Otherwise (by default) any input format is allowed,
 with body length checks being performed on error messages only.
 In this case the BIO given as I<rbio> argument to OSSL_HTTP_REQ_CTX_new() should