[asterisk-commits] dvossel: branch 1.6.1 r246983 - in /branches/1.6.1: ./ main/tcptls.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Feb 16 15:05:28 CST 2010
Author: dvossel
Date: Tue Feb 16 15:05:24 2010
New Revision: 246983
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=246983
Log:
Merged revisions 246980 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r246980 | dvossel | 2010-02-16 14:54:48 -0600 (Tue, 16 Feb 2010) | 8 lines
warning message if openssl support is missing while attempting tls connection
(closes issue #16673)
Reported by: michaesc
Patches:
tls_error_msg.diff uploaded by dvossel (license 671)
........
Modified:
branches/1.6.1/ (props changed)
branches/1.6.1/main/tcptls.c
Propchange: branches/1.6.1/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.1/main/tcptls.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.1/main/tcptls.c?view=diff&rev=246983&r1=246982&r2=246983
==============================================================================
--- branches/1.6.1/main/tcptls.c (original)
+++ branches/1.6.1/main/tcptls.c Tue Feb 16 15:05:24 2010
@@ -215,6 +215,11 @@
if (!tcptls_session->f) {
close(tcptls_session->fd);
ast_log(LOG_WARNING, "FILE * open failed!\n");
+#ifndef DO_SSL
+ if (tcptls_session->parent->tls_cfg) {
+ ast_log(LOG_WARNING, "Attempted a TLS connection without OpenSSL support. This will not work!\n");
+ }
+#endif
ao2_ref(tcptls_session, -1);
return NULL;
}
More information about the asterisk-commits
mailing list