From a7da26fb5f29e4dce88bb6d558c91cde3019d1e6 Mon Sep 17 00:00:00 2001 From: Chris Eskow Date: Wed, 8 Jul 2015 00:33:19 -0400 Subject: [PATCH 1/2] Fix spelling error in example.php --- example.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.php b/example.php index c422565..33d64d7 100644 --- a/example.php +++ b/example.php @@ -34,7 +34,7 @@ // Assume the worst. die('DANGER! DANGER! The ciphertext has been tampered with!'); } catch (Ex\CryptoTestFailed $ex) { - die('Cannot safely perform dencryption'); + die('Cannot safely perform decryption'); } catch (Ex\CannotPerformOperation $ex) { die('Cannot safely perform decryption'); } From f6aff345c0ac57b4e1154370243e4666a5614c21 Mon Sep 17 00:00:00 2001 From: Chris Eskow Date: Wed, 8 Jul 2015 00:34:14 -0400 Subject: [PATCH 2/2] Fix spelling error in ExceptionHandler.php --- src/ExceptionHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ExceptionHandler.php b/src/ExceptionHandler.php index 046b176..f8fd7de 100644 --- a/src/ExceptionHandler.php +++ b/src/ExceptionHandler.php @@ -31,7 +31,7 @@ public function handler($ex) $ex instanceof Ex\CannotPerformOperation || $ex instanceof Ex\CryptoTestFailed ) { - echo "FATAL ERROR: Uncaught crypto exception. Suppresssing output.\n"; + echo "FATAL ERROR: Uncaught crypto exception. Suppressing output.\n"; } else { /* Re-throw the exception in the destructor. */ $this->rethrow = $ex;