[Home]

Summary:ASTERISK-17710: [patch] Debian removing support for SSLv2 from openssl
Reporter:Charles Moye (chazzam)Labels:
Date Opened:2011-04-18 22:11:40Date Closed:2011-04-19 10:42:34
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Resources/res_srtp
Versions:1.8.3 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) tcptls.h.diff
Description:Debian Wheezy and Sid are removing support for SSLv2 apparently. This means enabling SRTP support in Asterisk on these versions of Debian leads to compile failures in main/tcptls.c:301 with the error "undefined reference to `SSLv2_client_method'"

Not sure what the preferred method of fixing this would be. For my purposes at home I just switched the call from SSLv2_client_method() to SSLv23_client_method()
Comments:By: Charles Moye (chazzam) 2011-04-18 22:15:55

bah, just realized I misnamed the patch file as tcptls.h.diff instead of tcptls.c.diff

I believe this is the Debian bug report that covers the change in Debian. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589706



By: Leif Madsen (lmadsen) 2011-04-19 07:17:41

I think this is a duplicate of 19095

By: Charles Moye (chazzam) 2011-04-19 09:39:10

Ahah! I tried searching for one, but I didn't think to leave out the 'v', and searching for SSL returned way too many results. So yes, this looks like a duplicate and can be closed!

By: Digium Subversion (svnbot) 2011-04-19 10:42:13

Repository: asterisk
Revision: 314251

U   branches/1.8/main/tcptls.c

------------------------------------------------------------------------
r314251 | lmadsen | 2011-04-19 10:42:11 -0500 (Tue, 19 Apr 2011) | 8 lines

Use SSLv23_client_method instead of old SSLv2 only.

(closes issue ASTERISK-17670)
(closes issue ASTERISK-17710)
Reported by: tzafrir
Patches:
     no_ssl2.diff uploaded by tzafrir (license 46)
Tested by: russell, chazzam
------------------------------------------------------------------------

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

By: Digium Subversion (svnbot) 2011-04-19 10:42:33

Repository: asterisk
Revision: 314252

_U  trunk/
U   trunk/main/tcptls.c

------------------------------------------------------------------------
r314252 | lmadsen | 2011-04-19 10:42:32 -0500 (Tue, 19 Apr 2011) | 16 lines

Merged revisions 314251 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
 r314251 | lmadsen | 2011-04-19 10:42:10 -0500 (Tue, 19 Apr 2011) | 8 lines
 
 Use SSLv23_client_method instead of old SSLv2 only.
 
 (closes issue ASTERISK-17670)
 (closes issue ASTERISK-17710)
 Reported by: tzafrir
 Patches:
       no_ssl2.diff uploaded by tzafrir (license 46)
 Tested by: russell, chazzam
........

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

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