From 5bda5de88b9a9307fb2cd586b6fb77ac1e9cf5da Mon Sep 17 00:00:00 2001 From: Pauli Date: Mon, 5 Aug 2024 10:41:28 +1000 Subject: [PATCH] style: fix style problems Reviewed-by: Tim Hudson Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/24498) --- include/openssl/rand.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/openssl/rand.h b/include/openssl/rand.h index 5f216c198eb..623e8fd3a59 100644 --- a/include/openssl/rand.h +++ b/include/openssl/rand.h @@ -22,9 +22,9 @@ # include # include -#ifdef __cplusplus +# ifdef __cplusplus extern "C" { -#endif +# endif /* * Default security strength (in the sense of [NIST SP 800-90Ar1]) @@ -121,11 +121,11 @@ OSSL_DEPRECATEDIN_1_1_0 int RAND_event(UINT, WPARAM, LPARAM); int RAND_set1_random_provider(OSSL_LIB_CTX *ctx, OSSL_PROVIDER *p); /* Which parameter to provider_random call */ -#define OSSL_PROV_RANDOM_PUBLIC 0 -#define OSSL_PROV_RANDOM_PRIVATE 1 +# define OSSL_PROV_RANDOM_PUBLIC 0 +# define OSSL_PROV_RANDOM_PRIVATE 1 -#ifdef __cplusplus +# ifdef __cplusplus } -#endif +# endif #endif -- 2.47.2