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)
This commit is contained in:
Dr. David von Oheimb 2020-10-05 22:56:54 +02:00
parent 1b4417abb8
commit bdde5b46c7

View File

@ -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);