[PATCH] ncrypt: Map STATUS_NO_MEMORY to NTE_NO_MEMORY.
Mohamad Al-Jaf
mohamadaljaf at gmail.com
Thu Apr 7 21:50:18 CDT 2022
Signed-off-by: Mohamad Al-Jaf <mohamadaljaf at gmail.com>
---
BCryptEnumAlgorithms can return this as an NTSTATUS.
---
dlls/ncrypt/main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/ncrypt/main.c b/dlls/ncrypt/main.c
index 10cec633269..58503338d6e 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_NO_MEMORY: return NTE_NO_MEMORY;
case STATUS_NOT_SUPPORTED: return NTE_NOT_SUPPORTED;
case NTE_BAD_DATA: return NTE_BAD_DATA;
default:
--
2.35.1
More information about the wine-devel
mailing list