diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-02-19 13:57:52 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-02-19 14:07:42 +0200 |
commit | 27d7aea00d22ad3fcdff2e7b267be1cf5c28d43c (patch) | |
tree | b9e3c74fa31ed699a71c68b06f61baf3d84e9697 /vcl/Library_vcl.mk | |
parent | 2ddfaa6d323b5db2f59f06f7708c5209549abeee (diff) |
tdf#84881: Work in progress: Perform the RFC3161 interaction with the TSA
Use libcurl to perform the request and get the response. Improve error
messages (only use SAL_WARN, though, so sadly not visible to end-users).
Still to do: Decode the response and attach it to the signature. Implement
request encoding and response decoding for Windows.
I probably should extend (and rename) the HashContextScope class to handle all
resources that need explicit deallocation, instead of calling
curl_slist_free_all(), curl_easy_cleanup() and SECITEM_FreeItem() in so many
places.
The error handling of the PDF export functionality would need to be
re-designed so that we could show actual error messages to the user instead of
generic "signing failed" ones. But that is typical for much of our code...
Change-Id: I6288de3f09021f8e0f385870143fefffbac2a706
Diffstat (limited to 'vcl/Library_vcl.mk')
-rw-r--r-- | vcl/Library_vcl.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/Library_vcl.mk b/vcl/Library_vcl.mk index e8df725ebe32..e114ae301909 100644 --- a/vcl/Library_vcl.mk +++ b/vcl/Library_vcl.mk @@ -59,6 +59,8 @@ $(eval $(call gb_Library_use_custom_headers,vcl,\ )) $(eval $(call gb_Library_use_externals,vcl,\ + $(if $(filter LINUX MACOSX,$(OS)), \ + curl) \ jpeg \ $(if $(filter-out WNT,$(OS)), \ nss3 \ |