Mohamad Al-Jaf : ncrypt: Map STATUS_NOT_SUPPORTED to NTE_NOT_SUPPORTED.

Alexandre Julliard julliard at winehq.org
Wed Apr 6 16:09:00 CDT 2022


Module: wine
Branch: master
Commit: dec096934a2a30864f92446de317ef491d8d3bad
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=dec096934a2a30864f92446de317ef491d8d3bad

Author: Mohamad Al-Jaf <mohamadaljaf at gmail.com>
Date:   Wed Apr  6 03:19:52 2022 -0400

ncrypt: Map STATUS_NOT_SUPPORTED to NTE_NOT_SUPPORTED.

Signed-off-by: Mohamad Al-Jaf <mohamadaljaf at gmail.com>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ncrypt/main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/ncrypt/main.c b/dlls/ncrypt/main.c
index cc979a539d2..13909a2dd9e 100644
--- a/dlls/ncrypt/main.c
+++ b/dlls/ncrypt/main.c
@@ -40,6 +40,7 @@ static SECURITY_STATUS map_ntstatus(NTSTATUS status)
     case STATUS_INVALID_SIGNATURE: return NTE_BAD_SIGNATURE;
     case STATUS_SUCCESS:           return ERROR_SUCCESS;
     case STATUS_INVALID_PARAMETER: return NTE_INVALID_PARAMETER;
+    case STATUS_NOT_SUPPORTED:     return NTE_NOT_SUPPORTED;
     case NTE_BAD_DATA:             return NTE_BAD_DATA;
     default:
         FIXME("unhandled status %#lx\n", status);




More information about the wine-cvs mailing list