Allow msSmartcardLogon EKU to be built
This commit is contained in:
@@ -2143,8 +2143,8 @@ static bool generate(private_x509_cert_t *cert, certificate_t *sign_cert,
|
|||||||
msSmartcardLogon = asn1_build_known_oid(OID_MS_SMARTCARD_LOGON);
|
msSmartcardLogon = asn1_build_known_oid(OID_MS_SMARTCARD_LOGON);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (serverAuth.ptr || clientAuth.ptr || ikeIntermediate.ptr ||
|
if (serverAuth.ptr || clientAuth.ptr || ikeIntermediate.ptr ||
|
||||||
ocspSigning.ptr)
|
ocspSigning.ptr || msSmartcardLogon.ptr)
|
||||||
{
|
{
|
||||||
extendedKeyUsage = asn1_wrap(ASN1_SEQUENCE, "mm",
|
extendedKeyUsage = asn1_wrap(ASN1_SEQUENCE, "mm",
|
||||||
asn1_build_known_oid(OID_EXTENDED_KEY_USAGE),
|
asn1_build_known_oid(OID_EXTENDED_KEY_USAGE),
|
||||||
|
|||||||
Reference in New Issue
Block a user