[PATCH v2 1/4] ncrypt: Map STATUS_NOT_SUPPORTED to NTE_NOT_SUPPORTED.

Mohamad Al-Jaf mohamadaljaf at gmail.com
Wed Apr 6 02:19:52 CDT 2022


Signed-off-by: Mohamad Al-Jaf <mohamadaljaf at gmail.com>
---
 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);
-- 
2.35.1




More information about the wine-devel mailing list