diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-07-11 12:23:52 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-08-10 12:09:33 +0200 |
commit | 37ed199fcebc73954e694b44033aeca4ab8a417f (patch) | |
tree | 22ae28e8efca1429704d1b9aad8eb4cfcbbabb11 /platform/gl | |
parent | 09f2e173850e011e6390c49a4f761e87dd87ffba (diff) | |
download | mupdf-37ed199fcebc73954e694b44033aeca4ab8a417f.tar.xz |
Use stubs instead of conditional compile with HAVE_LIBCRYPTO.
The macro is only set when building the pkcs7-helper library, so cannot
be used by client code. Build stub functions when compiling the
pkcs7-openssl helper library without libcrypto.
Diffstat (limited to 'platform/gl')
-rw-r--r-- | platform/gl/gl-form.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/platform/gl/gl-form.c b/platform/gl/gl-form.c index 123e8769..e42581ba 100644 --- a/platform/gl/gl-form.c +++ b/platform/gl/gl-form.c @@ -15,7 +15,6 @@ static struct input cert_password; static void do_sign(void) { -#ifdef HAVE_LIBCRYPTO pdf_pkcs7_signer *signer = NULL; fz_var(signer); @@ -36,9 +35,6 @@ static void do_sign(void) if (pdf_update_page(ctx, selected_annot->page)) render_page(); -#else - ui_show_warning_dialog("Document not signed as no LIBCRYPTO."); -#endif } static void cert_password_dialog(void) |