summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2020-10-05 22:56:54 +0200
committerDr. David von Oheimb <David.von.Oheimb@siemens.com>2020-10-07 15:50:44 +0200
commitbdde5b46c74852e38e660a16f64d7d8ba1c7c2e2 (patch)
treeeda01c319c9ee31631fa859b94f1cac8ff19e107 /include
parent1b4417abb89978af5b57c0ff68b02e439cd17a9a (diff)
ocsp.h: Fix backward compatibility declaration of OCSP_parse_url()
Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/13077)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/ocsp.h.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/openssl/ocsp.h.in b/include/openssl/ocsp.h.in
index bf1e5a37fd..1a2fb93c4f 100644
--- a/include/openssl/ocsp.h.in
+++ b/include/openssl/ocsp.h.in
@@ -261,7 +261,8 @@ int OCSP_check_validity(ASN1_GENERALIZEDTIME *thisupd,
int OCSP_request_verify(OCSP_REQUEST *req, STACK_OF(X509) *certs,
X509_STORE *store, unsigned long flags);
-# define OCSP_parse_url OSSL_HTTP_parse_url /* for backward compatibility */
+# define OCSP_parse_url(url, host, port, path, ssl) \
+ OSSL_HTTP_parse_url(url, host, port, NULL, path, ssl) /* backward compat */
int OCSP_id_issuer_cmp(const OCSP_CERTID *a, const OCSP_CERTID *b);
int OCSP_id_cmp(const OCSP_CERTID *a, const OCSP_CERTID *b);