Skip to content

Commit 16a5cf4

Browse files
committed
Fix typo
1 parent cad6d57 commit 16a5cf4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Backend/OpenSSL.php

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

0 commit comments

Comments
 (0)