crypt32: CertGetPublicKeyLength should check only cert encoding type.
commit8d4d7b267de514c3c72820faa31c3403a4a488cf
authorMichael Karcher <wine@mkarcher.dialup.fu-berlin.de>
Sun, 25 May 2008 17:23:44 +0000 (25 19:23 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 26 May 2008 15:59:20 +0000 (26 17:59 +0200)
tree0b42f13268d823a99f76841e2c7d2759cc020c25
parent8fa3b6871fa477e762ff614a50486df671853f8a
crypt32: CertGetPublicKeyLength should check only cert encoding type.

pktextract calls CertGetPublicKeyLength with dwCertEncodingType
of X509_ASN_ENCODING | PKCS_7_ASN_ENCODING, MSDN explicitly
allows it.
dlls/crypt32/cert.c
dlls/crypt32/tests/cert.c