Revision e562fca2
Added by Jim Pingle over 7 years ago
src/etc/inc/certs.inc | ||
---|---|---|
1093 | 1093 |
if (!empty($type)) { |
1094 | 1094 |
return "{$type}:" . cert_escape_x509_chars($str); |
1095 | 1095 |
} else { |
1096 |
return "";
|
|
1096 |
return null;
|
|
1097 | 1097 |
} |
1098 | 1098 |
} |
1099 | 1099 |
|
Also available in: Unified diff
Change how SANs are generated from the CN, considering that not all CNs will produce a valid SAN. Fixes #8252