diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-10-06 09:40:56 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-10-06 09:40:56 -0400 |
commit | 94669c829c10c0d6f4560fa3f48cc7e73b8e791c (patch) | |
tree | 5cdecdaa648a7fa2cef50f9420b37c23e550ebc5 /src/test/test_tortls.c | |
parent | bfd9dccdb8692a8d1d04c1c4004bc4bd3236c7b1 (diff) | |
download | tor-94669c829c10c0d6f4560fa3f48cc7e73b8e791c.tar.gz tor-94669c829c10c0d6f4560fa3f48cc7e73b8e791c.zip |
Allow case-insensitive match in test_tortls_debug_state_callback
Diffstat (limited to 'src/test/test_tortls.c')
-rw-r--r-- | src/test/test_tortls.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test_tortls.c b/src/test/test_tortls.c index 5e0b80f54d..be7dd9b92e 100644 --- a/src/test/test_tortls.c +++ b/src/test/test_tortls.c @@ -1834,7 +1834,8 @@ test_tortls_debug_state_callback(void *ignored) n = snprintf(buf, 1000, "SSL %p is now in state unknown" " state [type=32,val=45].\n", ssl); buf[n]='\0'; - tt_str_op(mock_saved_log_at(0), OP_EQ, buf); + if (strcasecmp(mock_saved_log_at(0), buf)) + tt_str_op(mock_saved_log_at(0), OP_EQ, buf); done: teardown_capture_of_logs(previous_log); |