aboutsummaryrefslogtreecommitdiff
path: root/src/common/tortls.c
diff options
context:
space:
mode:
authorEsteban Manchado Velázquez <emanchado@demiurgo.org>2012-02-20 17:40:37 +0100
committerNick Mathewson <nickm@torproject.org>2012-05-16 12:14:48 -0400
commitd0d9c3d71e1fb88557d684c59cf8a920712b16f1 (patch)
tree78b18ac9779556d974963b5db11d0488cfcc5689 /src/common/tortls.c
parent3ed4c5dc05a1954a8c68d0f7e9fb802f3155d308 (diff)
downloadtor-d0d9c3d71e1fb88557d684c59cf8a920712b16f1.tar
tor-d0d9c3d71e1fb88557d684c59cf8a920712b16f1.tar.gz
Fix parse_http_time and add tests
* It seems parse_http_time wasn't parsing correctly any date with commas (RFCs 1123 and 850). Fix that. * It seems parse_http_time was reporting the wrong month (they start at 0, not 1). Fix that. * Add some tests for parse_http_time, covering all three formats.
Diffstat (limited to 'src/common/tortls.c')
0 files changed, 0 insertions, 0 deletions