diff --git a/phpseclib/File/X509.php b/phpseclib/File/X509.php index b7c68b2f..837fe319 100644 --- a/phpseclib/File/X509.php +++ b/phpseclib/File/X509.php @@ -2199,7 +2199,7 @@ class File_X509 { case 'commonname': case 'cn': return 'id-at-commonName'; - case 'id-at-stateorprovinceName': + case 'id-at-stateorprovincename': case 'stateorprovincename': case 'state': case 'province':