Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74778 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38289 invoked from network); 7 Jun 2014 07:26:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Jun 2014 07:26:49 -0000 Authentication-Results: pb1.pair.com smtp.mail=kalle.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=kalle.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.128.170 as permitted sender) X-PHP-List-Original-Sender: kalle.php@gmail.com X-Host-Fingerprint: 209.85.128.170 mail-ve0-f170.google.com Received: from [209.85.128.170] ([209.85.128.170:59980] helo=mail-ve0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 01/00-38129-7BEB2935 for ; Sat, 07 Jun 2014 03:26:48 -0400 Received: by mail-ve0-f170.google.com with SMTP id db11so4496177veb.1 for ; Sat, 07 Jun 2014 00:26:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=cqpZ/vswcxJl6VLcZEenR3FP4APNpkkvDzqhrZele3U=; b=x5SXlzTfMka9M58GWcBNeKHfrUJwhGT96H15b1hHIdX1zoqXRQvRpvMgfGNy70ppMS a+3MJaxNp9yHHSCashWQKl15TjNDCOs3cs/WLZI8cb+etJws2rby2Lfk01FJGdrMpPGA 2IkhvpjMQsIPDBoksUSTyaDvPiYevtN5+xI+91/gw5j8k3xSZW2+VU+k9dAK5BUXVSIZ DDofwOnUt+qWWEidH1WItduivllsL/4i09sXpInDuoDz8QG63jZjK3ABezAbNaEHoTps 6JzVYNvsv57lyLqgLyLzOoltuhVNNg/Z8D3IgVhxTVjI5I+rQwDCOCFaqJXxv37Suefd 7ZAA== MIME-Version: 1.0 X-Received: by 10.58.196.231 with SMTP id ip7mr9672440vec.47.1402126004671; Sat, 07 Jun 2014 00:26:44 -0700 (PDT) Sender: kalle.php@gmail.com Received: by 10.58.122.197 with HTTP; Sat, 7 Jun 2014 00:26:44 -0700 (PDT) Date: Sat, 7 Jun 2014 09:26:44 +0200 X-Google-Sender-Auth: ajq4e2EvBZ4jsrUrAnR6wlZArSY Message-ID: To: Internals Content-Type: multipart/mixed; boundary=047d7b6dc7a470755504fb39e650 Subject: Regarding ftp_ssl_connect() From: kalle@php.net (Kalle Sommer Nielsen) --047d7b6dc7a470755504fb39e650 Content-Type: text/plain; charset=UTF-8 Hi While browsing over some of the code base, I felt over ftp_ssl_connect(), which we only enable in our builds if the openssl extension is available, and even then, we only enable it if it is built statically. I have hacked the code a little, so instead of adding a dependency on a static ext/openssl, we will now detect the openssl library and link it directly if it is found during configure, meaning that in our public builds of PHP on Windows, this function will now always be available. There is however the concern whether or not this makes sense to link to openssl for just this function, and I would love some more input on this matter from someone more experienced as I'm a little rusty. Attached is the patch I have made, note that it does not touch the config.m4, which will need a friendly hand from someone familiar with the UNIX build system. -- regards, Kalle Sommer Nielsen kalle@php.net --047d7b6dc7a470755504fb39e650--