From 1c9ee4ef281dbcc90bf83ec59a7dadd3232becbb Mon Sep 17 00:00:00 2001 From: terrafrost Date: Mon, 7 Dec 2015 23:53:09 -0600 Subject: [PATCH] RSA: fix PKCS8 key handling (again) --- phpseclib/Crypt/RSA.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpseclib/Crypt/RSA.php b/phpseclib/Crypt/RSA.php index 5e55917f..ba2a8d83 100644 --- a/phpseclib/Crypt/RSA.php +++ b/phpseclib/Crypt/RSA.php @@ -188,7 +188,7 @@ class RSA /** * PKCS#8 formatted private key */ - const PRIVATE_FORMAT_PKCS8 = 3; + const PRIVATE_FORMAT_PKCS8 = 8; /**#@-*/ /**#@+