projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set s->d1 to NULL after freeing it.
[openssl.git]
/
ssl
/
t1_trce.c
diff --git
a/ssl/t1_trce.c
b/ssl/t1_trce.c
index e766095a631ccabea707468b7213e8f09c34ad7d..4e03acd089ef2b99f7a2d58a65d9b3178b7dc8ba 100644
(file)
--- a/
ssl/t1_trce.c
+++ b/
ssl/t1_trce.c
@@
-112,6
+112,7
@@
static ssl_trace_tbl ssl_version_tbl[] = {
{TLS1_1_VERSION, "TLS 1.1"},
{TLS1_2_VERSION, "TLS 1.2"},
{DTLS1_VERSION, "DTLS 1.0"},
{TLS1_1_VERSION, "TLS 1.1"},
{TLS1_2_VERSION, "TLS 1.2"},
{DTLS1_VERSION, "DTLS 1.0"},
+ {DTLS1_2_VERSION, "DTLS 1.2"},
{DTLS1_BAD_VER, "DTLS 1.0 (bad)"}
};
{DTLS1_BAD_VER, "DTLS 1.0 (bad)"}
};
@@
-531,7
+532,7
@@
static int ssl_print_signature(BIO *bio, int indent, SSL *s,
{
if (*pmsglen < 2)
return 0;
{
if (*pmsglen < 2)
return 0;
- if (
TLS1_get_version(s) >= TLS1_2_VERSION
)
+ if (
SSL_USE_SIGALGS(s)
)
{
const unsigned char *p = *pmsg;
BIO_indent(bio, indent, 80);
{
const unsigned char *p = *pmsg;
BIO_indent(bio, indent, 80);
@@
-1046,7
+1047,7
@@
static int ssl_print_cert_request(BIO *bio, int indent, SSL *s,
return 0;
msg += xlen;
msglen -= xlen + 1;
return 0;
msg += xlen;
msglen -= xlen + 1;
- if (
TLS1_get_version(s) < TLS1_2_VERSION
)
+ if (
!SSL_USE_SIGALGS(s)
)
goto skip_sig;
if (msglen < 2)
return 0;
goto skip_sig;
if (msglen < 2)
return 0;