#22809 [Csd]: OpenSSL fails to compute internal private key from string but works on file

From: Date: Sun, 23 Mar 2003 02:03:31 +0000
Subject: #22809 [Csd]: OpenSSL fails to compute internal private key from string but works on file
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-36205@lists.php.net to get a copy of this message
ID: 22809 User updated by: php-bugs at liwing dot de Reported By: php-bugs at liwing dot de Status: Closed Bug Type: OpenSSL related Operating System: FreeBSD (4.8RC and 5.0) PHP Version: 4.3.1 New Comment: You should never ignore such warnings. They can became critical one fine day. If you want, I send you a patch, but I don't think 'ignore' is a good way :-( Previous Comments: ------------------------------------------------------------------------ [2003-03-22 18:35:19] sniper@php.net Just ignore those warnings. ------------------------------------------------------------------------ [2003-03-22 07:01:48] php-bugs at liwing dot de /bin/sh /usr/ports/www/mod_php4/work/php-4.3.2RC1/libtool --silent --preserve-dup-deps --mode=compile cc -Iext/openssl/ -I/usr/ports/www/mod_php4/work/php-4.3.2RC1/ext/openssl/ -DPHP_ATOM_INC -I/usr/ports/www/mod_php4/work/php-4.3.2RC1/include -I/usr/ports/www/mod_php4/work/php-4.3.2RC1/main -I/usr/ports/www/mod_php4/work/php-4.3.2RC1 -I/usr/ports/www/mod_php4/work/php-4.3.2RC1/Zend -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/mysql -I/usr/ports/www/mod_php4/work/php-4.3.2RC1/TSRM -O -pipe -DNO_WERROR -march=pentium2 -I/usr/local/include -prefer-pic -c /usr/ports/www/mod_php4/work/php-4.3.2RC1/ext/openssl/openssl.c -o ext/openssl/openssl.lo /usr/ports/www/mod_php4/work/php-4.3.2RC1/ext/openssl/openssl.c: In function `zif_openssl_pkey_export_to_file': /usr/ports/www/mod_php4/work/php-4.3.2RC1/ext/openssl/openssl.c:1911: warning: assignment discards qualifiers from pointer target type /usr/ports/www/mod_php4/work/php-4.3.2RC1/ext/openssl/openssl.c: In function `zif_openssl_pkey_export': /usr/ports/www/mod_php4/work/php-4.3.2RC1/ext/openssl/openssl.c:1962: warning: assignment discards qualifiers from pointer target type /usr/ports/www/mod_php4/work/php-4.3.2RC1/ext/openssl/openssl.c: In function `zif_openssl_pkcs7_encrypt': /usr/ports/www/mod_php4/work/php-4.3.2RC1/ext/openssl/openssl.c:2222: warning: assignment discards qualifiers from pointer target type Except those warnings openssl works fine ------------------------------------------------------------------------ [2003-03-21 17:01:04] sniper@php.net DO NOT ADD SUCH LONG PARTS OF TEXT IN HERE!!!!!! I deleted that comment. Please attach MAXIMUM of 15-20 lines. And preferrably text that actually includes the ERROR you get. ------------------------------------------------------------------------ [2003-03-21 10:36:05] php-bugs at liwing dot de What I have forgotten. I have replaced the source of PHP-4.3.2RC1 with the stable sources you've recommented. So this is not the error in RC1 (where is it, too) but in yesterdays(?) stable. ------------------------------------------------------------------------ [2003-03-20 18:09:22] sniper@php.net The openssl tests do not fail for me at least, but I tested this on Linux. (using openSSL 0.9.7a) So please give it a go on FreeBSD, it should work now. ------------------------------------------------------------------------ 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 http://bugs.php.net/22809 -- Edit this bug report at http://bugs.php.net/?id=22809&edit=1

« previous php.bugs (#36205) next »