Skip to content

Commit

Permalink
Fix openssl_csr_export() stub
Browse files Browse the repository at this point in the history
Closes GH-8362.
  • Loading branch information
mpesari authored and cmb69 committed Apr 13, 2022
1 parent 5655f1a commit 16bf833
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ext/openssl/openssl.stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function openssl_pkcs12_read(string $pkcs12, &$certificates, string $passphrase)

function openssl_csr_export_to_file(OpenSSLCertificateSigningRequest|string $csr, string $output_filename, bool $no_text = true): bool {}

/** @param OpenSSLAsymmetricKey $output */
/** @param string $output */
function openssl_csr_export(OpenSSLCertificateSigningRequest|string $csr, &$output, bool $no_text = true): bool {}

/** @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key */
Expand Down
2 changes: 1 addition & 1 deletion ext/openssl/openssl_arginfo.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* This is a generated file, edit the .stub.php file instead.
* Stub hash: b58bd453ee5bedc500fe0e81c00c6a8e0eca85a0 */
* Stub hash: 90fe9bfde63940e050f74dd9dccae7773fc57eff */

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_openssl_x509_export_to_file, 0, 2, _IS_BOOL, 0)
ZEND_ARG_OBJ_TYPE_MASK(0, certificate, OpenSSLCertificate, MAY_BE_STRING, NULL)
Expand Down

0 comments on commit 16bf833

Please sign in to comment.