Revoking my gpg key 0x4C40A6D9 (Was: Re: mcicda: Compare a file handle with INVALID_HANDLE_VALUE instead of NULL.)
How embarrassing! Having to revoke my new (9 days old) gpg key 0x4C40A6D9. Yes, that was a big part of the passphrase for that key in the CC field ... -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: A revocation certificate should follow iH4EIBECAD4FAkmocts3HQJTZW50IHBhcnQgb2YgdGhlIHBhc3NwaHJhc2UgdG8g YSBwdWJsaWMgbWFpbGluZyBsaXN0LgAKCRAiLf+YTECm2emfAJ4lg1KaduK1eDw6 gASivxMpRHxZpgCeLaO+C3Vn2XVFCoH3WaxHAO5xZV0= =zhsP -----END PGP PUBLIC KEY BLOCK----- /me hangs head in shame michael Michael Stefaniuc wrote:
--- dlls/mcicda/mcicda.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/mcicda/mcicda.c b/dlls/mcicda/mcicda.c index 79f3bae..81dc18f 100644 --- a/dlls/mcicda/mcicda.c +++ b/dlls/mcicda/mcicda.c @@ -463,7 +463,7 @@ static DWORD MCICDA_Open(UINT wDevID, DWORD dwFlags, LPMCI_OPEN_PARMSW lpOpenPar /* now, open the handle */ root[0] = root[1] = '\\'; root[2] = '.'; root[3] = '\\'; root[4] = drive; root[5] = ':'; root[6] = '\0'; wmcda->handle = CreateFileW(root, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, 0, 0); - if (wmcda->handle != 0) + if (wmcda->handle != INVALID_HANDLE_VALUE) return 0;
the_error:
participants (1)
-
Michael Stefaniuc