From: Dr. David von Oheimb Date: Mon, 5 Oct 2020 20:56:54 +0000 (+0200) Subject: ocsp.h: Fix backward compatibility declaration of OCSP_parse_url() X-Git-Tag: openssl-3.0.0-alpha7~59 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bdde5b46c74852e38e660a16f64d7d8ba1c7c2e2;p=thirdparty%2Fopenssl.git ocsp.h: Fix backward compatibility declaration of OCSP_parse_url() Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/13077) --- diff --git a/include/openssl/ocsp.h.in b/include/openssl/ocsp.h.in index bf1e5a37fdd..1a2fb93c4f7 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);