Skip to content

Commit

Permalink
free private-key resource in signer
Browse files Browse the repository at this point in the history
  • Loading branch information
Fahrenholz committed Aug 24, 2018
1 parent dbfbb60 commit 8e64ee0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Signer/Rsa.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ final public function sign(string $payload, Key $key): string
);
}

openssl_pkey_free($key);

return $signature;
}

Expand Down

0 comments on commit 8e64ee0

Please sign in to comment.