From 934bd284802892d43184ee7514e4f88a4e074352 Mon Sep 17 00:00:00 2001 From: Stefano Moioli Date: Wed, 1 May 2024 01:04:42 +0200 Subject: [PATCH] invoker: fix bad call in payload_encode --- invoker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invoker.php b/invoker.php index 9e0a7f1..f707a77 100644 --- a/invoker.php +++ b/invoker.php @@ -484,7 +484,7 @@ private function payload_encode(string $payload){ /** load PEM into an OpenSSL RSA key structure */ - $rsa_key = $this->nat_openssl_pkcs8_load($pkey->toString('PKCS8')); + $rsa_key = $this->nat_openssl_pkcs8_load($pkey); return $rsa_key; }