From: YeshunYe <yeyeshun(a)uniontech.com> Signed-off-by: YeshunYe <yeyeshun(a)uniontech.com> --- dlls/dssenh/tests/dssenh.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dlls/dssenh/tests/dssenh.c b/dlls/dssenh/tests/dssenh.c index 75fc88fe623..9c9b18ed4ba 100644 --- a/dlls/dssenh/tests/dssenh.c +++ b/dlls/dssenh/tests/dssenh.c @@ -149,6 +149,13 @@ static void test_acquire_context(void) result = CryptReleaseContext(hProv, 0); ok(result, "Expected release of the provider.\n"); + result = CryptAcquireContextA(&hProv, NULL, MS_ENH_DSS_DH_PROV_A, PROV_DSS_DH, + CRYPT_VERIFYCONTEXT | CRYPT_NEWKEYSET); + ok(result, "Expected no errors.\n"); + + result = CryptReleaseContext(hProv, 0); + ok(result, "Expected release of the provider.\n"); + /* test DSS Schannel provider (PROV_DH_SCHANNEL) */ result = CryptAcquireContextA( -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/7994