Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions reference/phar/Phar/setSignatureAlgorithm.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
<!-- EN-Revision: f03806fcd8fe03a0501bd40b6e3939ff6589a1d2 Maintainer: gui Status: ready -->
<!-- Reviewed: yes -->
<!-- EN-Revision: 2cbc37d710751c33862709e622d0e928c9015c45 Maintainer: gui Status: ready -->
<refentry xml:id="phar.setsignaturealgorithm" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>Phar::setSignatureAlgorithm</refname>
Expand Down Expand Up @@ -53,6 +52,7 @@
<programlisting role="php">
<![CDATA[
<?php
$p = new Phar('archive.phar');
$private = openssl_get_privatekey(file_get_contents('private.pem'));
$pkey = '';
openssl_pkey_export($private, $pkey);
Expand Down
4 changes: 2 additions & 2 deletions reference/phar/PharData/setSignatureAlgorithm.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
<!-- EN-Revision: f03806fcd8fe03a0501bd40b6e3939ff6589a1d2 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<!-- EN-Revision: 2cbc37d710751c33862709e622d0e928c9015c45 Maintainer: yannick Status: ready -->
<refentry xml:id="phardata.setsignaturealgorithm" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>PharData::setSignatureAlgorithm</refname>
Expand Down Expand Up @@ -47,6 +46,7 @@
<programlisting role="php">
<![CDATA[
<?php
$p = new PharData('archive.tar');
$private = openssl_get_privatekey(file_get_contents('private.pem'));
$pkey = '';
openssl_pkey_export($private, $pkey);
Expand Down
Loading