Skip to content

Commit

Permalink
Add stub for openssl_sign() function
Browse files Browse the repository at this point in the history
Fixes #11791
  • Loading branch information
piotrekkr authored Oct 3, 2024
1 parent b009a44 commit 303eead
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions stubs/openssl.stub
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

/**
* @param-out string $signature
*/
function openssl_sign(
string $data,
string &$signature,
#[\SensitiveParameter] \OpenSSLAsymmetricKey|\OpenSSLCertificate|array|string $private_key,
string|int $algorithm = OPENSSL_ALGO_SHA1
): bool
{
}

0 comments on commit 303eead

Please sign in to comment.