From: willmafh Date: Tue, 3 Dec 2024 05:11:33 +0000 (+0800) Subject: BN_secure_new function indentation correction X-Git-Tag: openssl-3.5.0-alpha1~852 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1f07a0049cb33a880bfcc359c6a911cafb2b791;p=thirdparty%2Fopenssl.git BN_secure_new function indentation correction CLA: trivial Reviewed-by: Tom Cosgrove Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/26095) --- diff --git a/crypto/bn/bn_lib.c b/crypto/bn/bn_lib.c index bd1d02ba0a1..d0e989b2dc4 100644 --- a/crypto/bn/bn_lib.c +++ b/crypto/bn/bn_lib.c @@ -252,13 +252,13 @@ BIGNUM *BN_new(void) return ret; } - BIGNUM *BN_secure_new(void) - { - BIGNUM *ret = BN_new(); - if (ret != NULL) - ret->flags |= BN_FLG_SECURE; - return ret; - } +BIGNUM *BN_secure_new(void) +{ + BIGNUM *ret = BN_new(); + if (ret != NULL) + ret->flags |= BN_FLG_SECURE; + return ret; +} /* This is used by bn_expand2() */ /* The caller MUST check that words > b->dmax before calling this */