We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81a0f78 commit 1ee7c12Copy full SHA for 1ee7c12
src/Traits/Creator.php
@@ -33,7 +33,7 @@ public function create($keySize = null, $overwrite = false): self
33
$this->setupPrivateKey($resource);
34
35
if (\PHP_VERSION_ID < 80000) {
36
- openssl_pkey_free($key);
+ openssl_pkey_free($resource);
37
}
38
39
return $this;
0 commit comments