fix coding style nits w.r.t. 'defined' in http_local.h, http.h, and ocsp.h
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Tue, 10 Mar 2020 09:40:43 +0000 (10:40 +0100)
committerDr. David von Oheimb <David.von.Oheimb@siemens.com>
Tue, 10 Mar 2020 15:09:44 +0000 (16:09 +0100)
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from https://github.com/openssl/openssl/pull/11142)

crypto/http/http_local.h
include/openssl/http.h
include/openssl/ocsp.h

index 4e6577f66d3923ad4d8c5c42f019922835ec39d6..4722750018ece07f98355157b331d5ab6688a174 100644 (file)
@@ -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) */
index e37f636e0542054f3d6d237dc6166bda46bb72d5..950acf1408b8a1d70bc49a54436452978d6ce0f7 100644 (file)
@@ -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) */
index 209afd6f5d4240467a1893cea63d9d13af655b24..4b0f635cf7f1c34b049a1f6a88272212ef6a9b04 100644 (file)
@@ -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