diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-05-04 19:54:43 +0200 |
---|---|---|
committer | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-05-09 16:57:08 +0200 |
commit | 9253f8346acf065d8d52eb03aa87e2c7eb4f7cce (patch) | |
tree | 87bfd8da34ba5b8af2cf5052154f81d2fc0b6573 /crypto/cmp/cmp_http.c | |
parent | 045229cfe88aba44f8b67e7306281f6fbf516625 (diff) |
Constify 'req' parameter of OSSL_HTTP_post_asn1()
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11736)
Diffstat (limited to 'crypto/cmp/cmp_http.c')
-rw-r--r-- | crypto/cmp/cmp_http.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/cmp/cmp_http.c b/crypto/cmp/cmp_http.c index 4c9f542b49..3804f2498f 100644 --- a/crypto/cmp/cmp_http.c +++ b/crypto/cmp/cmp_http.c @@ -58,8 +58,8 @@ OSSL_CMP_MSG *OSSL_CMP_MSG_http_perform(OSSL_CMP_CTX *ctx, OSSL_CMP_CTX_get_http_cb_arg(ctx) != NULL, ctx->proxy, ctx->no_proxy, NULL, NULL, ctx->http_cb, OSSL_CMP_CTX_get_http_cb_arg(ctx), - headers, content_type_pkix, - (ASN1_VALUE *)req, ASN1_ITEM_rptr(OSSL_CMP_MSG), + headers, content_type_pkix, (const ASN1_VALUE *)req, + ASN1_ITEM_rptr(OSSL_CMP_MSG), 0, 0, ctx->msg_timeout, content_type_pkix, ASN1_ITEM_rptr(OSSL_CMP_MSG)); |