We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 455fabe commit f70d243Copy full SHA for f70d243
src/KeyVault/KeyVault/Models/PSKeyVaultCertificatePolicy.cs
@@ -173,7 +173,7 @@ internal CertificatePolicy ToCertificatePolicy()
173
if (!string.IsNullOrWhiteSpace(SubjectName) ||
174
DnsNames != null ||
175
Ekus != null ||
176
- KeyUsage != null |
+ KeyUsage != null ||
177
ValidityInMonths.HasValue)
178
{
179
var x509CertificateProperties = new X509CertificateProperties
@@ -188,7 +188,7 @@ internal CertificatePolicy ToCertificatePolicy()
188
189
if (Ekus != null)
190
191
- x509CertificateProperties.Ekus = Ekus == null ? null : new List<string>(Ekus);
+ x509CertificateProperties.Ekus = new List<string>(Ekus);
192
}
193
194
if (DnsNames != null)
0 commit comments