Skip to content

Commit

Permalink
rlpa: update for latest lpac change
Browse files Browse the repository at this point in the history
  • Loading branch information
estkme committed Mar 21, 2024
1 parent c1370bd commit 2e51c42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rlpa-server.php
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ public function getName()
public function processOpenLpac($cmd)
{
$this->lockAPDU();
$this->process = proc_open("./lpac {$cmd}", [['pipe', 'r'], ['pipe', 'w'], ['pipe', 'w']], $pipes, ".", ['APDU_INTERFACE' => './libapduinterface_stdio.so']);
$this->process = proc_open("./lpac {$cmd}", [['pipe', 'r'], ['pipe', 'w'], ['pipe', 'w']], $pipes, ".", ['LPAC_APDU' => 'stdio']);
$this->process_stdin = $pipes[0];
$this->process_stdout = $pipes[1];
$this->process_stderr = $pipes[2];
Expand Down

0 comments on commit 2e51c42

Please sign in to comment.