We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0316038 commit 284baf1Copy full SHA for 284baf1
1 file changed
src/Encryption.php
@@ -282,9 +282,6 @@ private static function createLocalKeyObjectUsingOpenSSL(): array
282
}
283
284
$details = openssl_pkey_get_details($keyResource);
285
- if (PHP_MAJOR_VERSION < 8) {
286
- openssl_pkey_free($keyResource);
287
- }
288
289
if (!$details) {
290
throw new \RuntimeException('Unable to get the key details');
0 commit comments