chunk: Externalize error reporting in chunk_write()
authorMartin Willi <martin@revosec.ch>
Thu, 21 Nov 2013 13:22:01 +0000 (14:22 +0100)
committerMartin Willi <martin@revosec.ch>
Thu, 23 Jan 2014 14:55:32 +0000 (15:55 +0100)
commitb9ee059ca99bc8fb2a8854b35fef5a7672a03e1b
treebbcb6728cb64f634238f45ed6cdc12460024676f
parent37374a292aea466063bf7777929122299d493326
chunk: Externalize error reporting in chunk_write()

This avoids passing that arbitrary label just for error messages, and gives
greater flexibility in handling errors.
src/libcharon/plugins/stroke/stroke_cred.c
src/libstrongswan/tests/suites/test_chunk.c
src/libstrongswan/utils/chunk.c
src/libstrongswan/utils/chunk.h
src/openac/openac.c
src/scepclient/scepclient.c