codeguy/Slim — pull request #523 by webpatser (2013-05-18 08:39:45+00:00)
Title: Since mcrypt is needed to for the encrypt/decrypt methods and the unit t...

Since mcrypt is needed to for the encrypt/decrypt methods and the unit test will fail if mcrypt is not present, a check in closer would be handy.

Problem is that if the mcrypt library is not present NO encryption is being performed without warning, thus returning the string like it was passed.

Another possibility is to alter the test to not fail if mcrypt is not present, but then an alternate encryption method is needed that not depends on mcrpyt.