diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/certs.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/certs.inc b/etc/inc/certs.inc index 03371fd..7d19045 100644 --- a/etc/inc/certs.inc +++ b/etc/inc/certs.inc @@ -286,6 +286,7 @@ function csr_get_subject($str_crt, $decode = true) { if (!is_array($components)) return "unknown"; + ksort($components); foreach ($components as $a => $v) { if (!strlen($subject)) $subject = "{$a}={$v}"; |