[asterisk-bugs] [Asterisk 0016673]: [patch] TLS socket file descriptor fails to open (with no error message in log)

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Feb 16 15:03:35 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16673 
====================================================================== 
Reported By:                michaesc
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   16673
Category:                   Core/Portability
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     closed
Target Version:             1.6.2.4
Asterisk Version:           SVN 
JIRA:                       SWP-779 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-01-22 10:55 CST
Last Modified:              2010-02-16 15:03 CST
====================================================================== 
Summary:                    [patch] TLS socket file descriptor fails to open
(with no error message in log)
Description: 
On platforms missing funopen(3) or fopencookie(3) DO_SSL is undefined in
main/tcptls.h. Other files including tcptls.h will fail in their TLS
operations, because of this portability problem.

In the most basic case of configuring (in sip.conf) the TLS variables
properly, one expects the TLS logic to open the necessary TCP socket file
descriptors. Asterisk (see tcptls.c) doesn't do it on all supported
platforms, and doesn't even write any error or debug message to the log
announcing the problem.


====================================================================== 

---------------------------------------------------------------------- 
 (0118124) svnbot (reporter) - 2010-02-16 15:03
 https://issues.asterisk.org/view.php?id=16673#c118124 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 246981

U   trunk/main/tcptls.c

------------------------------------------------------------------------
r246981 | dvossel | 2010-02-16 15:03:35 -0600 (Tue, 16 Feb 2010) | 4 lines

swap openssl with OpenSSL in warning message.

(issue https://issues.asterisk.org/view.php?id=16673)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=246981 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-02-16 15:03 svnbot         Checkin                                      
2010-02-16 15:03 svnbot         Note Added: 0118124                          
======================================================================




More information about the asterisk-bugs mailing list