We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdc1244 commit d0d8313Copy full SHA for d0d8313
src/Backend/OpenSSL.php
@@ -154,7 +154,7 @@ public function decrypt(
154
$options = OPENSSL_RAW_DATA | OPENSSL_ZERO_PADDING;
155
if ($this->useAuthTag) { // configure GCM mode
156
$authTag = substr($ciphertext, - self::AUTH_TAG_LEN);
157
- if (strlen($authTag) !== self::AUTH_TAG_LEN {
+ if (strlen($authTag) !== self::AUTH_TAG_LEN) {
158
throw new RuntimeException('Authentication tag length is invalid');
159
}
160
$ciphertext = substr($ciphertext, 0, - self::AUTH_TAG_LEN);
0 commit comments