From: Pauli Date: Mon, 5 Aug 2024 00:41:28 +0000 (+1000) Subject: style: fix style problems X-Git-Tag: openssl-3.5.0-alpha1~658 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bda5de88b9a9307fb2cd586b6fb77ac1e9cf5da;p=thirdparty%2Fopenssl.git style: fix style problems Reviewed-by: Tim Hudson Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/24498) --- 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