aboutsummaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2016-02-18 07:59:41 -0500
committerRich Salz <rsalz@openssl.org>2016-02-18 17:19:32 -0500
commitd1776fdecd6a8677a281a85498a74a8480739689 (patch)
treed99c85139e4cb14dcebfe900d4289c5c1c4713ec /ssl
parent6baa3b430555d25b6eee6440a6b8bee80eaabfc3 (diff)
downloadopenssl-d1776fdecd6a8677a281a85498a74a8480739689.tar.gz
Fix {TLS,CIPHER}_DEBUG compiles.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'ssl')
-rw-r--r--ssl/ssl_ciph.c4
-rw-r--r--ssl/t1_enc.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/ssl/ssl_ciph.c b/ssl/ssl_ciph.c
index f78984cff9..cd6c3c91bd 100644
--- a/ssl/ssl_ciph.c
+++ b/ssl/ssl_ciph.c
@@ -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);
diff --git a/ssl/t1_enc.c b/ssl/t1_enc.c
index 995ae404f5..6b3a73e39e 100644
--- a/ssl/t1_enc.c
+++ b/ssl/t1_enc.c
@@ -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