projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f843591
)
Fix for trace code: SSL3 doesn't include a length value for
author
Dr. Stephen Henson
<steve@openssl.org>
Mon, 4 Feb 2013 14:53:47 +0000
(14:53 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Mon, 4 Feb 2013 15:14:00 +0000
(15:14 +0000)
encrypted premaster secret value.
(cherry picked from commit
ea34a58385058748c51037bfb2c3208ee639f5f1
)
ssl/t1_trce.c
patch
|
blob
|
history
diff --git
a/ssl/t1_trce.c
b/ssl/t1_trce.c
index b8651641a36d2318574b7f6ebbd834f169b1f312..c603134821973d24b03c86b5d80fd60386fe2d93 100644
(file)
--- a/
ssl/t1_trce.c
+++ b/
ssl/t1_trce.c
@@
-843,10
+843,19
@@
static int ssl_print_client_keyex(BIO *bio, int indent, SSL *ssl,
{
case SSL_kRSA:
- if (!ssl_print_hexbuf(bio, indent + 2,
+ if (TLS1_get_version(ssl) == SSL3_VERSION)
+ {
+ ssl_print_hex(bio, indent + 2,
+ "EncyptedPreMasterSecret",
+ msg, msglen);
+ }
+ else
+ {
+ if (!ssl_print_hexbuf(bio, indent + 2,
"EncyptedPreMasterSecret", 2,
&msg, &msglen))
return 0;
+ }
break;
/* Implicit parameters only allowed for static DH */