Bug #78079 [NEW]: openssl_encrypt_ccm.phpt fails with OpenSSL 1.1.1c
| From: | cmb@php.net | Date: | Tue, 28 May 2019 21:24:04 +0000 |
| Subject: | Bug #78079 [NEW]: openssl_encrypt_ccm.phpt fails with OpenSSL 1.1.1c | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-221033@lists.php.net to get a copy of this message | ||
From: cmb
Operating system: Windows
PHP version: 7.2Git-2019-05-28 (Git)
Package: OpenSSL related
Bug Type: Bug
Bug description:openssl_encrypt_ccm.phpt fails with OpenSSL 1.1.1c
Description:
------------
When building PHP with OpenSSL 1.1.1c, openssl_encrypt_ccm.phpt[1]
reproducibly fails (the other tests are passing). I have only
tested this on Windows, but other systems may be affected as well.
[1]
<https://github.com/php/php-src/blob/php-7.3.6/ext/openssl/tests/openssl_encrypt_ccm.phpt>
Test script:
---------------
nmake test TESTS=ext\openssl\tests\openssl_encrypt_ccm.phpt
Actual result:
--------------
007+
008+ Warning: openssl_encrypt(): Retrieving verification tag failed in
D:\php-sdk\phpdev\vc15\x64\php-src-7.3\ext\openssl\tests\openssl_encrypt_ccm.php
on line 18
007- string(8) "p/lvgA=="
008- int(1024)
009+ bool(false)
010+ int(16)
--
Edit bug report at https://bugs.php.net/bug.php?id=78079&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=78079&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=78079&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=78079&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=78079&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78079&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78079&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78079&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78079&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78079&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78079&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78079&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78079&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78079&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=78079&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=78079&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78079&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78079&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78079&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78079&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78079&r=mysqlcfg