lib/ntlm: double quote backslash in error tables

The error string

  missing @ or \ in name

must have the backslash double quoted as

  missing @ or \\\\ in name

because of how compile_et parses the input and generates its output.
Otherwise, when compiling the generated ntlm_err.c a warning will
be produced because of invalid quoting of a space.

Change-Id: I994d3eb896098914702e418a0ef5cad783d16a5a
This commit is contained in:
Jeffrey Altman
2016-04-13 19:34:00 -05:00
parent cc62c1a4ae
commit 15a2537a79

View File

@@ -14,7 +14,7 @@ error_code RAND, "Random generator failed"
error_code AUTH, "NTLM authentication failed" error_code AUTH, "NTLM authentication failed"
error_code TIME_SKEW, "Client time skewed to server" error_code TIME_SKEW, "Client time skewed to server"
error_code OEM, "Client set OEM string" error_code OEM, "Client set OEM string"
error_code MISSING_NAME_SEPARATOR, "missing @ or \\ in name" error_code MISSING_NAME_SEPARATOR, "missing @ or \\\\ in name"
error_code MISSING_BUFFER, "missing expected buffer" error_code MISSING_BUFFER, "missing expected buffer"
error_code INVALID_APOP, "Invalid APOP response" error_code INVALID_APOP, "Invalid APOP response"
error_code INVALID_CRAM_MD5, "Invalid CRAM-MD5 response" error_code INVALID_CRAM_MD5, "Invalid CRAM-MD5 response"