diff options
author | Tobias Brunner <tobias@strongswan.org> | 2012-05-11 16:05:55 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2012-06-11 17:09:20 +0200 |
commit | e8120632ae302fe1e12eeec9baf1a70d33456ca8 (patch) | |
tree | adc11a977626933d5fb09b81b7dd9459e593dfdd /src/libhydra/plugins/resolve/resolve_plugin.h | |
parent | 6e6d78a561710938188bafd72ad06eb76b6983ec (diff) | |
download | strongswan-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/libhydra/plugins/resolve/resolve_plugin.h')
0 files changed, 0 insertions, 0 deletions