Bug #62656 [Ana->Csd]: Undefined reference to SSLv2 variables with OpenSSL 1.0.1

From: Date: Sun, 30 Jul 2017 18:06:03 +0000
Subject: Bug #62656 [Ana->Csd]: Undefined reference to SSLv2 variables with OpenSSL 1.0.1
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-210419@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=62656&edit=1 ID: 62656 Updated by: bukka@php.net Reported by: mattj at emazestudios dot com Summary: Undefined reference to SSLv2 variables with OpenSSL 1.0.1 -Status: Analyzed +Status: Closed Type: Bug Package: OpenSSL related Operating System: Linux PHP Version: 5.3.15 -Assigned To: rdlowrey +Assigned To: bukka Block user comment: N Private report: N New Comment: This shouldn't be longer an issue as SSL2 support was also dropped from PHP 7.1 and all check should already work fine in 7.0. Older versions are no longer supported. Previous Comments: ------------------------------------------------------------------------ [2014-04-11 18:11:31] titleistfour at gmail dot com You mean like this patch? https://bugs.php.net/patch-display.php?bug_id=54736&patch=debian_patches_disable_SSLv2_for_openssl_1_0_0.patch&revision=latest ------------------------------------------------------------------------ [2014-02-28 05:38:24] rdlowrey@php.net This is almost certainly due to distros disabling the highly broken/insecure SSLv2 protocol at compile time in their OpenSSL build. It should be a simple matter of adding ifdef checks to the relevant openssl extension code to fix the problem. I will look into this. ------------------------------------------------------------------------ [2013-05-31 21:24:03] hessemanj2100 at gmail dot com This seems to be an Ubuntu problem because I successfully compiled PHP on CentOS 6.4 x64_x86. Perhaps a comparison of the configure and make logs from Ubuntu and CentOS might narrow down the problem? I wish I could provide more info but that is all I have. ------------------------------------------------------------------------ [2013-05-30 22:41:27] hessemanj2100 at gmail dot com I have the same exact problem when compiling php-5.3.25 or php-5.4.15 on Ubuntu Server 12.04.02. I am using OpenSSL 1.0.1e configure and make commands to compile OpenSSL: ------------------------------------------------------------------------- ./config --prefix=/usr/local/ssl --enable-shared sudo make sudo make install sudo ln -s /usr/local/ssl/bin/openssl /usr/local/bin/openssl configure and make commands to compile PHP ------------------------------------------------------------------------- ./configure \ --prefix=/usr/local/php \ --with-mcrypt \ --with-mhash \ --with-mysql=mysqlnd \ --with-mysqli=mysqlnd \ --with-pdo-mysql=mysqlnd \ --with-iodbc \ --with-zlib \ --with-openssl=/usr/local/ssl \ --with-curl=/usr/local/curl \ --enable-bcmath \ --enable-calendar \ --enable-ftp \ --enable-wddx \ --enable-sqlite-utf8 \ --enable-zip \ --enable-cgi sudo make sudo make install Please note that I successfully compiled OpenSSL as a shared object with the following commands: cd ext/openssl mv config0.m4 config.m4 phpize ./configure --with-openssl=/usr/local/ssl sudo make The extension, openssl.so, was found in the modules folder. ------------------------------------------------------------------------ [2012-08-28 13:48:30] dsysko at genscape dot com I see this same behaviour with PHP version 5.4.6 and same version of OpenSSL(1.0.1c) My config options: --with-openssl --with-pgsql --with-curl --with-tidy --with-zlib --with-apxs2=/usr/local/httpd/bin/apxs --with-gd --with-pdo-pgsql --enable-pdo --enable-zip --enable-pcntl --enable-soap ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=62656 -- Edit this bug report at https://bugs.php.net/bug.php?id=62656&edit=1

« previous php.bugs (#210419) next »