Skip to content

Commit 1ee7c12

Browse files
authored
Update Creator.php
1 parent 81a0f78 commit 1ee7c12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/Creator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function create($keySize = null, $overwrite = false): self
3333
$this->setupPrivateKey($resource);
3434

3535
if (\PHP_VERSION_ID < 80000) {
36-
openssl_pkey_free($key);
36+
openssl_pkey_free($resource);
3737
}
3838

3939
return $this;

0 commit comments

Comments
 (0)