mirror of
https://github.com/openssl/openssl.git
synced 2025-04-12 20:30:52 +08:00
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:
parent
1b4417abb8
commit
bdde5b46c7
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user