Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47004 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73338 invoked from network); 20 Feb 2010 19:56:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Feb 2010 19:56:47 -0000 Authentication-Results: pb1.pair.com header.from=bostjan.skufca.work@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=bostjan.skufca.work@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.223 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: bostjan.skufca.work@gmail.com X-Host-Fingerprint: 209.85.220.223 mail-fx0-f223.google.com Received: from [209.85.220.223] ([209.85.220.223:41484] helo=mail-fx0-f223.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E5/46-29373-D7E308B4 for ; Sat, 20 Feb 2010 14:56:45 -0500 Received: by fxm23 with SMTP id 23so1175625fxm.23 for ; Sat, 20 Feb 2010 11:56:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=2g3T5iHxfUDCOKY7m1AGy9sCM7GDkv5ivsupRPlxu70=; b=XreKAjNTZkdm89yTBYCExcKzgY4fuEIbfHYOUSfS2i6wl9lHxbOHJefubfiD44w0FJ TpgQW18KQenEKYMF28mMGUvjPADkUz+yI72oSHRXCncyfXHZpTvUsDLTfNw6YceMxDDo OOESpxdEOQrMHk/tG+gjTyAuQY9vqdxN0GaNw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=ZQiV4nhQqO1+rJqVAOa8EziCUBD6hK94d9JX1vuaa3SqS2OQR5RC9von5BhpT59uw8 NdnAxqaXz1EKwfuRV+oUG5vL5kAyvmfCcBaYZN4hpO2+TjZlhLmyntkKc+xfmet/sDDC l+05jwZ8vo6ninpPzWJIU9Cx2Jy5Hp/ppVE7c= MIME-Version: 1.0 Sender: bostjan.skufca.work@gmail.com Received: by 10.223.5.211 with SMTP id 19mr1163187faw.63.1266695801660; Sat, 20 Feb 2010 11:56:41 -0800 (PST) Date: Sat, 20 Feb 2010 20:56:41 +0100 X-Google-Sender-Auth: 0a2b3429a499466c Message-ID: <7b9883441002201156i462221ccked6f1c0aa0b49b56@mail.gmail.com> To: internals@lists.php.net, wez@php.net, kingwez@gmail.com, pajoye@php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Patch for ext/openssl to support CN_match with asterisk From: bostjan@a2o.si (Bostjan Skufca) Hi! I've created a patch that enables PHP to do "limited wildcard matching" if CN_match option in stream context is specified as '*.example.org'. Also I have filled a bug report for this, here: http://bugs.php.net/bug.php?id=51100 Patch is here: http://source.a2o.si/php/php-ext-openssl-CN_match-wildcard.diff It was made against 5.2.12 but I checked it with SVN: - for 5.2 branch the offset is only +6 lines - for trunk it is cca +800 lines Can you include it in 5.2.13 release and 5.3? I know the former is already in RC stage but this does can't break anything I believe. Best regards, b.