• Juan Lang's avatar
    crypt32: Revert 8ed5a777. · 90c160c3
    Juan Lang authored
    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.
    90c160c3
Name
Last commit
Last update
..
tests Loading commit data...
Makefile.in Loading commit data...
base64.c Loading commit data...
cert.c Loading commit data...
chain.c Loading commit data...
collectionstore.c Loading commit data...
context.c Loading commit data...
crl.c Loading commit data...
crypt32.spec Loading commit data...
crypt32_De.rc Loading commit data...
crypt32_En.rc Loading commit data...
crypt32_Fr.rc Loading commit data...
crypt32_Ko.rc Loading commit data...
crypt32_Lt.rc Loading commit data...
crypt32_Nl.rc Loading commit data...
crypt32_No.rc Loading commit data...
crypt32_Pt.rc Loading commit data...
crypt32_Ro.rc Loading commit data...
crypt32_Sv.rc Loading commit data...
crypt32_private.h Loading commit data...
cryptres.h Loading commit data...
ctl.c Loading commit data...
decode.c Loading commit data...
encode.c Loading commit data...
filestore.c Loading commit data...
main.c Loading commit data...
message.c Loading commit data...
msg.c Loading commit data...
object.c Loading commit data...
oid.c Loading commit data...
proplist.c Loading commit data...
protectdata.c Loading commit data...
provstore.c Loading commit data...
regstore.c Loading commit data...
rootstore.c Loading commit data...
serialize.c Loading commit data...
sip.c Loading commit data...
store.c Loading commit data...
str.c Loading commit data...
version.rc Loading commit data...