BN_secure_new function indentation correction

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)
This commit is contained in:
willmafh 2024-12-03 13:11:33 +08:00 committed by Tomas Mraz
parent c77d9fcf8e
commit a1f07a0049

View File

@ -252,13 +252,13 @@ BIGNUM *BN_new(void)
return ret; return ret;
} }
BIGNUM *BN_secure_new(void) BIGNUM *BN_secure_new(void)
{ {
BIGNUM *ret = BN_new(); BIGNUM *ret = BN_new();
if (ret != NULL) if (ret != NULL)
ret->flags |= BN_FLG_SECURE; ret->flags |= BN_FLG_SECURE;
return ret; return ret;
} }
/* This is used by bn_expand2() */ /* This is used by bn_expand2() */
/* The caller MUST check that words > b->dmax before calling this */ /* The caller MUST check that words > b->dmax before calling this */