aboutsummaryrefslogtreecommitdiffstats
path: root/src/conftest/hooks/log_ts.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2012-05-11 16:05:55 +0200
committerTobias Brunner <tobias@strongswan.org>2012-06-11 17:09:20 +0200
commite8120632ae302fe1e12eeec9baf1a70d33456ca8 (patch)
treeadc11a977626933d5fb09b81b7dd9459e593dfdd /src/conftest/hooks/log_ts.c
parent6e6d78a561710938188bafd72ad06eb76b6983ec (diff)
downloadstrongswan-e8120632ae302fe1e12eeec9baf1a70d33456ca8.tar.bz2
strongswan-e8120632ae302fe1e12eeec9baf1a70d33456ca8.tar.xz
Don't use chunk_skip() in asn1_length().
chunk_skip() returns chunk_empty if the length of the chunk is equal to the number of bytes to skip, this is problematic as asn1_length() modifies the original chunk. asn1_parser_t for instance uses the modified chunk to later calculate the length of the resulting ASN.1 object which produces incorrect results if it is based on chunk_empty.
Diffstat (limited to 'src/conftest/hooks/log_ts.c')
0 files changed, 0 insertions, 0 deletions