Skip to content

Commit 284baf1

Browse files
authored
Remove outdated php 7.x code (#364)
1 parent 0316038 commit 284baf1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Encryption.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -282,9 +282,6 @@ private static function createLocalKeyObjectUsingOpenSSL(): array
282282
}
283283

284284
$details = openssl_pkey_get_details($keyResource);
285-
if (PHP_MAJOR_VERSION < 8) {
286-
openssl_pkey_free($keyResource);
287-
}
288285

289286
if (!$details) {
290287
throw new \RuntimeException('Unable to get the key details');

0 commit comments

Comments
 (0)