[asterisk-bugs] [JIRA] (ASTERISK-24799) [patch] make fails with undefined reference to SSLv3_client_method

Alexander Traud (JIRA) noreply at issues.asterisk.org
Fri Feb 20 02:19:34 CST 2015


     [ https://issues.asterisk.org/jira/browse/ASTERISK-24799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Traud updated ASTERISK-24799:
---------------------------------------

    Description: 
Asterisk is not able to link, gives following error message:
{noformat}tcptls.o: In function `__ssl_setup':
main/tcptls.c:773: undefined reference to `SSLv3_client_method'
collect2: error: ld returned 1 exit status
make[1]: *** [asterisk] Error 1
make: *** [main] Error 2{noformat}

Some distributions are going to disable SSLv3 in OpenSSL at compile time. For example, Debian does this in their upcoming OpenSSL 1.0.2 release (issue #[768476|https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768476#10]). Therefore, this patch adds a test for the definition of OPENSSL_NO_SSL3_METHOD. This avoids the above link error and Asterisk is made.

This patch was tested in Ubuntu 14.04 LTS against the current (but still experimental) Debian package, which includes the (final) release of OpenSSL 1.0.2 from January 2015:{noformat}sudo apt-key adv --keyserver keys.gnupg.net --recv-keys 8B48AD6246925553
# Ubuntu > System Settings > Software & Updates > Other Software > Add:
# deb http://ftp.debian.org/debian experimental main
sudo apt-get update
sudo apt-get -t experimental install libssl-dev{noformat}

  was:
Asterisk is not able to link, gives following error message:
{noformat}tcptls.o: In function `__ssl_setup':
main/tcptls.c:773: undefined reference to `SSLv3_client_method'
collect2: error: ld returned 1 exit status
make[1]: *** [asterisk] Error 1
make: *** [main] Error 2{noformat}

Some distributions are going to disable SSLv3 in OpenSSL at compile time. For example, Debian does this in their upcoming OpenSSL 1.0.2 release (issue #[768476|https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768476#10]). Therefore, this patch adds a test for the definition of OPENSSL_NO_SSL3_METHOD. This avoids the above link error and Asterisk is made.

This patch was tested in Ubuntu 14.04 LTS against the current (but still experimental) Debian package, which includes the (final) release of OpenSSL 1.0.2 from January 2015.


> [patch] make fails with undefined reference to SSLv3_client_method
> ------------------------------------------------------------------
>
>                 Key: ASTERISK-24799
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24799
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/TCP-TLS
>    Affects Versions: 1.8.32.2, 11.16.0, 12.8.1, 13.2.0
>            Reporter: Alexander Traud
>            Severity: Minor
>         Attachments: no-ssl3-method.patch
>
>
> Asterisk is not able to link, gives following error message:
> {noformat}tcptls.o: In function `__ssl_setup':
> main/tcptls.c:773: undefined reference to `SSLv3_client_method'
> collect2: error: ld returned 1 exit status
> make[1]: *** [asterisk] Error 1
> make: *** [main] Error 2{noformat}
> Some distributions are going to disable SSLv3 in OpenSSL at compile time. For example, Debian does this in their upcoming OpenSSL 1.0.2 release (issue #[768476|https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768476#10]). Therefore, this patch adds a test for the definition of OPENSSL_NO_SSL3_METHOD. This avoids the above link error and Asterisk is made.
> This patch was tested in Ubuntu 14.04 LTS against the current (but still experimental) Debian package, which includes the (final) release of OpenSSL 1.0.2 from January 2015:{noformat}sudo apt-key adv --keyserver keys.gnupg.net --recv-keys 8B48AD6246925553
> # Ubuntu > System Settings > Software & Updates > Other Software > Add:
> # deb http://ftp.debian.org/debian experimental main
> sudo apt-get update
> sudo apt-get -t experimental install libssl-dev{noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list