]> wimlib.net Git - wimlib/blobdiff - src/util.c
Return new error code when trying to open encrypted WIM
[wimlib] / src / util.c
index 27f01c415ff240594d22ed6d7fe5be18fb566f3d..b2e59e40417c3a4a555770a0d6d462f632466e6a 100644 (file)
@@ -424,6 +424,8 @@ static const tchar *error_strings[] = {
                = T("Failed to write data to a file"),
        [WIMLIB_ERR_XML]
                = T("The XML data of the WIM is invalid"),
+       [WIMLIB_ERR_WIM_IS_ENCRYPTED]
+               = T("The WIM file (or parts of it) is encrypted"),
 };
 
 /* API function documented in wimlib.h  */