Skip to content

Commit d0d8313

Browse files
committed
Fix typo
1 parent fdc1244 commit d0d8313

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Backend/OpenSSL.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public function decrypt(
154154
$options = OPENSSL_RAW_DATA | OPENSSL_ZERO_PADDING;
155155
if ($this->useAuthTag) { // configure GCM mode
156156
$authTag = substr($ciphertext, - self::AUTH_TAG_LEN);
157-
if (strlen($authTag) !== self::AUTH_TAG_LEN {
157+
if (strlen($authTag) !== self::AUTH_TAG_LEN) {
158158
throw new RuntimeException('Authentication tag length is invalid');
159159
}
160160
$ciphertext = substr($ciphertext, 0, - self::AUTH_TAG_LEN);

0 commit comments

Comments
 (0)