Fix err_test.

ERR_FLAG_MALLOCED is now masked and isn't returned through
ERR_get_error_line_data.

Change-Id: Ida633bf1a5ca01f563c1323dbdfb2433c2ab5159
Reviewed-on: https://boringssl-review.googlesource.com/1910
Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
David Benjamin 2014-10-09 16:55:32 -04:00 committed by Adam Langley
parent 57e52f2a63
commit b1659f597b

View File

@ -58,7 +58,6 @@ static int test_put_error(void) {
if (strcmp(file, "test") != 0 ||
line != 4 ||
(flags & ERR_FLAG_STRING) == 0 ||
(flags & ERR_FLAG_MALLOCED) == 0 ||
ERR_GET_LIB(packed_error) != 1 ||
ERR_GET_FUNC(packed_error) != 2 ||
ERR_GET_REASON(packed_error) != 3 ||