From b5adba204244563346d4acefb06723629e6d8f11 Mon Sep 17 00:00:00 2001 From: "Dr. David von Oheimb" Date: Tue, 10 Mar 2020 10:40:43 +0100 Subject: fix coding style nits w.r.t. 'defined' in http_local.h, http.h, and ocsp.h Reviewed-by: Matt Caswell Reviewed-by: David von Oheimb (Merged from https://github.com/openssl/openssl/pull/11142) --- crypto/http/http_local.h | 2 +- include/openssl/http.h | 2 +- include/openssl/ocsp.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crypto/http/http_local.h b/crypto/http/http_local.h index 4e6577f66d..4722750018 100644 --- a/crypto/http/http_local.h +++ b/crypto/http/http_local.h @@ -46,4 +46,4 @@ ASN1_VALUE *HTTP_sendreq_bio(BIO *bio, OSSL_HTTP_bio_cb_t bio_update_fn, int maxline, unsigned long max_resp_len, int timeout, const ASN1_ITEM *rsp_it); -#endif /* !defined OSSL_CRYPTO_HTTP_LOCAL_H */ +#endif /* !defined(OSSL_CRYPTO_HTTP_LOCAL_H) */ diff --git a/include/openssl/http.h b/include/openssl/http.h index e37f636e05..950acf1408 100644 --- a/include/openssl/http.h +++ b/include/openssl/http.h @@ -69,4 +69,4 @@ int OSSL_HTTP_parse_url(const char *url, char **phost, char **pport, # ifdef __cplusplus } # endif -#endif /* !defined OPENSSL_HTTP_H */ +#endif /* !defined(OPENSSL_HTTP_H) */ diff --git a/include/openssl/ocsp.h b/include/openssl/ocsp.h index 209afd6f5d..4b0f635cf7 100644 --- a/include/openssl/ocsp.h +++ b/include/openssl/ocsp.h @@ -371,5 +371,5 @@ int OCSP_basic_verify(OCSP_BASICRESP *bs, STACK_OF(X509) *certs, # ifdef __cplusplus } # endif -# endif /* !defined OPENSSL_NO_OCSP */ +# endif /* !defined(OPENSSL_NO_OCSP) */ #endif -- cgit v1.2.3