From: Dr. Stephen Henson Date: Fri, 6 Jan 2017 13:12:28 +0000 (+0000) Subject: style issues X-Git-Tag: OpenSSL_1_1_1-pre1~2753 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b6b885c6b9b4754eace0fe24e4cf2fabd089274e;p=oweals%2Fopenssl.git style issues Reviewed-by: Rich Salz Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/2177) --- diff --git a/crypto/rsa/rsa_ameth.c b/crypto/rsa/rsa_ameth.c index 810d24f4e6..07002033fe 100644 --- a/crypto/rsa/rsa_ameth.c +++ b/crypto/rsa/rsa_ameth.c @@ -566,7 +566,7 @@ RSA_PSS_PARAMS *rsa_pss_params_create(const EVP_MD *sigmd, if (!rsa_md_to_algor(&pss->hashAlgorithm, sigmd)) goto err; if (mgf1md == NULL) - mgf1md = sigmd; + mgf1md = sigmd; if (!rsa_md_to_mgf1(&pss->maskGenAlgorithm, mgf1md)) goto err; return pss; @@ -674,7 +674,7 @@ int rsa_pss_get_param(const RSA_PSS_PARAMS *pss, const EVP_MD **pmd, */ if (pss->trailerField && ASN1_INTEGER_get(pss->trailerField) != 1) { RSAerr(RSA_F_RSA_PSS_GET_PARAM, RSA_R_INVALID_TRAILER); - return 0; + return 0; } return 1;