mirror of
https://github.com/openssl/openssl.git
synced 2024-12-14 04:24:23 +08:00
fix style issues
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2301)
This commit is contained in:
parent
cdf516d988
commit
91410d40cb
@ -261,7 +261,7 @@ static int do_print_sigalgs(BIO *out, SSL *s, int shared)
|
||||
SSL_get_sigalgs(s, i, &sign_nid, &hash_nid, NULL, &rsign, &rhash);
|
||||
if (i)
|
||||
BIO_puts(out, ":");
|
||||
sstr= get_sigtype(sign_nid);
|
||||
sstr = get_sigtype(sign_nid);
|
||||
if (sstr)
|
||||
BIO_printf(out, "%s+", sstr);
|
||||
else
|
||||
|
@ -2023,8 +2023,7 @@ MSG_PROCESS_RETURN tls_process_key_exchange(SSL *s, PACKET *pkt)
|
||||
}
|
||||
if (SSL_USE_PSS(s)) {
|
||||
if (EVP_PKEY_CTX_set_rsa_padding(pctx, RSA_PKCS1_PSS_PADDING) <= 0
|
||||
/* -1 here means set saltlen to the digest len */
|
||||
|| EVP_PKEY_CTX_set_rsa_pss_saltlen(pctx,
|
||||
|| EVP_PKEY_CTX_set_rsa_pss_saltlen(pctx,
|
||||
RSA_PSS_SALTLEN_DIGEST) <= 0) {
|
||||
al = SSL_AD_INTERNAL_ERROR;
|
||||
SSLerr(SSL_F_TLS_PROCESS_KEY_EXCHANGE, ERR_R_EVP_LIB);
|
||||
|
Loading…
Reference in New Issue
Block a user