crypt32: CryptAcquireCertificatePrivateKey() should reset last error code on success.
commit559a83a8f434bd7d856b86010793be592b874a23
authorDmitry Timoshkov <dmitry@baikal.ru>
Fri, 27 May 2022 07:55:20 +0000 (27 10:55 +0300)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 27 May 2022 13:26:16 +0000 (27 15:26 +0200)
tree6e30f205a26f84d7de75c2466496952e982b79d6
parent0044e52784ed313af0cbe7f5fdcdbd71efc78715
crypt32: CryptAcquireCertificatePrivateKey() should reset last error code on success.

One of Chrome crypto plugins depends on this.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/crypt32/cert.c
dlls/crypt32/tests/cert.c