提交 d1776fde 编写于 作者: R Rich Salz 提交者: Rich Salz

Fix {TLS,CIPHER}_DEBUG compiles.

Reviewed-by: NRichard Levitte <levitte@openssl.org>
上级 6baa3b43
......@@ -892,7 +892,7 @@ static void ssl_cipher_apply_rule(uint32_t cipher_id, uint32_t alg_mkey,
#ifdef CIPHER_DEBUG
fprintf(stderr,
"Applying rule %d with %08lx/%08lx/%08lx/%08lx/%08lx %08lx (%d)\n",
"Applying rule %d with %08x/%08x/%08x/%08x/%08x %08x (%d)\n",
rule, alg_mkey, alg_auth, alg_enc, alg_mac, alg_ssl,
algo_strength, strength_bits);
#endif
......@@ -936,7 +936,7 @@ static void ssl_cipher_apply_rule(uint32_t cipher_id, uint32_t alg_mkey,
} else {
#ifdef CIPHER_DEBUG
fprintf(stderr,
"\nName: %s:\nAlgo = %08lx/%08lx/%08lx/%08lx/%08lx Algo_strength = %08lx\n",
"\nName: %s:\nAlgo = %08x/%08x/%08x/%08x/%08x Algo_strength = %08x\n",
cp->name, cp->algorithm_mkey, cp->algorithm_auth,
cp->algorithm_enc, cp->algorithm_mac, cp->algorithm_ssl,
cp->algo_strength);
......
......@@ -525,7 +525,7 @@ int tls1_setup_key_block(SSL *s)
{
int z;
for (z = 0; z < num; z++)
printf("%02X%c", p1[z], ((z + 1) % 16) ? ' ' : '\n');
printf("%02X%c", p[z], ((z + 1) % 16) ? ' ' : '\n');
}
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册