Re: com php-src: Fixed bug #68920 (use strict peer_fingerprint input checks): NEWS ext/openssl/tests/bug68920.phpt
ext/openssl/tests/openssl_peer_fingerprint.phpt ext/openssl/xp_ssl.c
| From: | Daniel Lowrey | Date: | Wed, 04 Mar 2015 23:08:25 +0000 |
| Subject: | Re: com php-src: Fixed bug #68920 (use strict peer_fingerprint input checks): NEWS ext/openssl/tests/bug68920.phpt ext/openssl/tests/openssl_peer_fingerprint.phpt ext/openssl/xp_ssl.c |
||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-85219@lists.php.net to get a copy of this message | ||
On Wed, Mar 4, 2015 at 6:00 PM, Kalle Sommer Nielsen <kalle@php.net> wrote:
>
> Hi Daniel
>
> 2015-03-04 20:47 GMT+01:00 Daniel Lowrey <rdlowrey@php.net>:
> > Commit: 241f3c34b89ab55432d5af3fd1e4217540e161a3
> > Author: Daniel Lowrey <rdlowrey@php.net> Wed, 4 Mar 2015
12:54:34 -0500
> > Parents: a29b64fc1029b4121e3e9ff20901c35ad600b4da
> > Branches: PHP-5.6
> >
> > Link:
http://git.php.net/?p=php-src.git;a=commitdiff;h=241f3c34b89ab55432d5af3fd1e4217540e161a3
> >
> > Log:
> > Fixed bug #68920 (use strict peer_fingerprint input checks)
>
> > --- /dev/null
> > +++ b/ext/openssl/tests/bug68920.phpt
> > @@ -0,0 +1,57 @@
> > +--TEST--
> > +Bug #68920: peer_fingerprint input checks should be strict
> > +--SKIPIF--
> > +<?php
> > +if (!extension_loaded("openssl")) die("skip openssl not loaded");
>
> Do we have some skipif.inc for online tests? Seeing as this test uses
php.net?
>
>
> --
> regards,
>
> Kalle Sommer Nielsen
> kalle@php.net
You're right to ask. I was actually being lazy so I could go ahead and push
this to get the bug closed. I'll convert the test to use a local
server/certificate like some of the other openssl stream tests soon so it
won't be an issue.