[pan2/testing: 235/279] few cleanups
- From: Heinrich MÃller <henmull src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pan2/testing: 235/279] few cleanups
- Date: Sat, 3 Dec 2011 22:41:19 +0000 (UTC)
commit cefc477826b844def0d721c91e895ccaeeb31143
Author: Heinrich MÃller <sphemuel stud informatik uni-erlangen de>
Date: Mon Nov 7 17:40:52 2011 +0100
few cleanups
pan/tasks/socket-impl-openssl.cc | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/pan/tasks/socket-impl-openssl.cc b/pan/tasks/socket-impl-openssl.cc
index 851d12c..ce7fcf1 100644
--- a/pan/tasks/socket-impl-openssl.cc
+++ b/pan/tasks/socket-impl-openssl.cc
@@ -300,12 +300,12 @@ GIOChannelSocketSSL :: ~GIOChannelSocketSSL ()
GIOSSLChannel *chan = (GIOSSLChannel *)_channel;
- std::cerr << LINE_ID << " destroying socket " << this << ", "<<chan->ssl<<", "<<_session<<", ";
+// std::cerr << LINE_ID << " destroying socket " << this << ", "<<chan->ssl<<", "<<_session<<", ";
_session = SSL_get1_session(chan->ssl);
_certstore.add_session(_session);
- std::cerr<<_session<<std::endl;
+// std::cerr<<_session<<std::endl;
remove_source (_tag_watch);
remove_source (_tag_timeout);
@@ -393,10 +393,7 @@ namespace
mydata.server = host;
SSL_set_ex_data(chan->ssl, SSL_get_fd(chan->ssl), &mydata);
-
-// std::cerr<<"resuming session "<<session<<" for "<<chan->ssl<<", result ";
if (session) ret = SSL_set_session(chan->ssl, session);
- std::cerr<<ret<<std::endl;
ret = SSL_connect(chan->ssl);
if (ret <= 0) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]