|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #73718 Crypto 0.2.2 Cannot redefine class constant Crypto\MACException::ALGORITHM_NOT_
Submitted: 2016-12-11 21:19 UTC Modified: 2016-12-14 18:32 UTC
From: anrdaemon at freemail dot ru Assigned: bukka (profile)
Status: Closed Package: PECL (PECL)
PHP Version: 7.1.0 OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: anrdaemon at freemail dot ru
New email:
PHP Version: OS:


 [2016-12-11 21:19 UTC] anrdaemon at freemail dot ru
When trying to load php_crypto 0.2.2 with PHP 7.1.0, the error appears

PHP Fatal error:  Cannot redefine class constant Crypto\MACException::ALGORITHM_NOT_FOUND in Unknown on line 0


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-12 19:31 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: bukka
 [2016-12-12 19:31 UTC]
This is going to be resolved in the next release that should be soon (just doing last preparations). You can also find a fix in master already.

Please don't log any bugs related to crypto in here. All issues should be added to github:

The one related to this is already closed:
 [2016-12-13 05:07 UTC] anrdaemon at freemail dot ru
If you want to have issues reported on github, you should prbably fix the "report new bug" link on the package page.
 [2016-12-14 18:32 UTC]
Yep fixed. Remi already emailed me about that.

Btw. I just release 0.3.0 which should also fix your issue if Windows builds succeed...
 [2016-12-14 20:50 UTC] anrdaemon at freemail dot ru
I see. Thanks!
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Oct 31 14:01:24 2020 UTC