[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 65/153: openssl: fix debug messages
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 65/153: openssl: fix debug messages |
Date: |
Tue, 11 Sep 2018 12:52:16 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit aa2ad90acd05903217e108e2584006acc651b5d6
Author: Daniel Jelinski <address@hidden>
AuthorDate: Mon Aug 6 23:35:33 2018 +0200
openssl: fix debug messages
Fixes #2806
Closes #2843
---
lib/vtls/openssl.c | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c
index 9ce1ae5ab..f747db9ac 100644
--- a/lib/vtls/openssl.c
+++ b/lib/vtls/openssl.c
@@ -1974,7 +1974,15 @@ static void ssl_tls_trace(int direction, int ssl_ver,
int content_type,
}
else
#endif
- {
+ if(content_type == SSL3_RT_CHANGE_CIPHER_SPEC) {
+ msg_type = *(char *)buf;
+ msg_name = "Change cipher spec";
+ }
+ else if(content_type == SSL3_RT_ALERT) {
+ msg_type = (((char *)buf)[0] << 8) + ((char *)buf)[1];
+ msg_name = SSL_alert_desc_string_long(msg_type);
+ }
+ else {
msg_type = *(char *)buf;
msg_name = ssl_msg_type(ssl_ver, msg_type);
}
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnurl] 49/153: RELEASE-NOTES: synced, (continued)
- [GNUnet-SVN] [gnurl] 49/153: RELEASE-NOTES: synced, gnunet, 2018/09/11
- [GNUnet-SVN] [gnurl] 50/153: general: fix printf specifiers, gnunet, 2018/09/11
- [GNUnet-SVN] [gnurl] 60/153: ssl: set engine implicitly when a PKCS#11 URI is provided, gnunet, 2018/09/11
- [GNUnet-SVN] [gnurl] 74/153: lib1502: fix memory leak in torture test, gnunet, 2018/09/11
- [GNUnet-SVN] [gnurl] 75/153: travis: execute "set -eo pipefail" for coverage build, gnunet, 2018/09/11
- [GNUnet-SVN] [gnurl] 73/153: docs: mention NULL is fine input to several functions, gnunet, 2018/09/11
- [GNUnet-SVN] [gnurl] 66/153: telnet: Remove unused macros TELOPTS and TELCMDS, gnunet, 2018/09/11
- [GNUnet-SVN] [gnurl] 69/153: asyn-thread: Remove unused macro, gnunet, 2018/09/11
- [GNUnet-SVN] [gnurl] 70/153: test1540: Remove unused macro TEST_HANG_TIMEOUT, gnunet, 2018/09/11
- [GNUnet-SVN] [gnurl] 64/153: configure: fix for -lpthread detection with OpenSSL and pkg-config, gnunet, 2018/09/11
- [GNUnet-SVN] [gnurl] 65/153: openssl: fix debug messages,
gnunet <=
- [GNUnet-SVN] [gnurl] 36/153: conn_free: updated comment to clarify, gnunet, 2018/09/11
- [GNUnet-SVN] [gnurl] 41/153: examples/ephiperfifo: checksrc compliance, gnunet, 2018/09/11
- [GNUnet-SVN] [gnurl] 62/153: windows: follow up to the buffer-tuning 1ba1dba7, gnunet, 2018/09/11
- [GNUnet-SVN] [gnurl] 59/153: CMake: Respect BUILD_SHARED_LIBS, gnunet, 2018/09/11
- [GNUnet-SVN] [gnurl] 33/153: mime: check Curl_rand_hex's return code, gnunet, 2018/09/11
- [GNUnet-SVN] [gnurl] 54/153: lib/Makefile: only do symbol hiding if told to, gnunet, 2018/09/11
- [GNUnet-SVN] [gnurl] 38/153: tests/http_pipe.py: Use /usr/bin/env to find python, gnunet, 2018/09/11
- [GNUnet-SVN] [gnurl] 57/153: cmake: link curl to the OpenSSL targets instead of lib absolute paths, gnunet, 2018/09/11
- [GNUnet-SVN] [gnurl] 48/153: mailmap: Daniel Jelinski, gnunet, 2018/09/11
- [GNUnet-SVN] [gnurl] 42/153: travis: run a 'make checksrc' too, gnunet, 2018/09/11