mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
90c160c3d8
Ordinarily removing tests seems like a bad idea, but in this case it seems the only rational response to the test failures the tests produce. The tests check the state of three bits with a variety of certificate and CRL combinations. One of these bits is apparently not set by any version of Windows for any of the tests. Testing its absence doesn't seem correct, and I'll explain why in more detail in a second. Every permutation of the remaining two bits appears on at least one Windows version, and no Windows version is obviously more correct than the rest, so testing them doesn't seem worthwhile. The one bit that doesn't appear to be set is the bit saying that a certificate is revoked. I created CRLs that do in fact revoke some of the tested certificates, so it appears to me that the bit should be set. It's possible that Windows doesn't bother checking the revocation status of a certificate whose anchor isn't trusted, but it's impossible to test this in an automated regression test suite, because adding a trusted certificate requires clicking OK (or its equivalent) in a dialog. The dialog is invoked by the system process, so I can't use a dialog hook to suppress it. I can test this hypothesis manually, but it isn't possible to do so in an automated way. |
||
---|---|---|
.. | ||
tests | ||
base64.c | ||
cert.c | ||
chain.c | ||
collectionstore.c | ||
context.c | ||
crl.c | ||
crypt32.spec | ||
crypt32_De.rc | ||
crypt32_En.rc | ||
crypt32_Fr.rc | ||
crypt32_Ko.rc | ||
crypt32_Lt.rc | ||
crypt32_Nl.rc | ||
crypt32_No.rc | ||
crypt32_private.h | ||
crypt32_Pt.rc | ||
crypt32_Ro.rc | ||
crypt32_Sv.rc | ||
cryptres.h | ||
ctl.c | ||
decode.c | ||
encode.c | ||
filestore.c | ||
main.c | ||
Makefile.in | ||
message.c | ||
msg.c | ||
object.c | ||
oid.c | ||
proplist.c | ||
protectdata.c | ||
provstore.c | ||
regstore.c | ||
rootstore.c | ||
serialize.c | ||
sip.c | ||
store.c | ||
str.c | ||
version.rc |