Code style: space after 'if'
Reviewed-by: Matt Caswell <matt@openssl.org>
This commit is contained in:
parent
b65558328a
commit
61986d32f3
@ -758,8 +758,10 @@ static int pub_encode_gost01(X509_PUBKEY *pub, const EVP_PKEY *pk)
|
||||
Y = BN_new();
|
||||
if (!X || !Y) {
|
||||
GOSTerr(GOST_F_PUB_ENCODE_GOST01, ERR_R_MALLOC_FAILURE);
|
||||
if(X) BN_free(X);
|
||||
if(Y) BN_free(Y);
|
||||
if (X)
|
||||
BN_free(X);
|
||||
if (Y)
|
||||
BN_free(Y);
|
||||
BN_free(order);
|
||||
return 0;
|
||||
}
|
||||
|
@ -214,7 +214,8 @@ int gost_do_verify(const unsigned char *dgst, int dgst_len,
|
||||
GOSTerr(GOST_F_GOST_DO_VERIFY, GOST_R_SIGNATURE_MISMATCH);
|
||||
}
|
||||
err:
|
||||
if(md) BN_free(md);
|
||||
if (md)
|
||||
BN_free(md);
|
||||
if (ctx) {
|
||||
BN_CTX_end(ctx);
|
||||
BN_CTX_free(ctx);
|
||||
|
Loading…
x
Reference in New Issue
Block a user