Skip to content

Commit

Permalink
Remove unnecessary strval
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Mar 20, 2024
1 parent 6426836 commit ff35cf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Backend/OpenSSL.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public function decrypt(KeyInterface $key, string $ciphertext): string
$key->getMaterial(),
$options,
$iv,
strval($authTag), /** @TODO remove strval when minimal php-version becomes >=8.1 */
$authTag,
);

if ($plaintext === false) {
Expand Down

0 comments on commit ff35cf5

Please sign in to comment.