]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
BN_secure_new function indentation correction
authorwillmafh <willmafh@hotmail.com>
Tue, 3 Dec 2024 05:11:33 +0000 (13:11 +0800)
committerTomas Mraz <tomas@openssl.org>
Fri, 6 Dec 2024 14:26:36 +0000 (15:26 +0100)
CLA: trivial

Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26095)

crypto/bn/bn_lib.c

index bd1d02ba0a14afa6ecb723ebf74a3cc057d80263..d0e989b2dc401d69231eb349204eda467701f4ea 100644 (file)
@@ -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 */