summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-pkcs7.c
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2016-11-16 01:40:34 +0800
committerSebastian Rasmussen <sebras@gmail.com>2016-11-17 01:19:11 +0800
commit276d97cb194f4ed4cacfa44a3b6fba2c3c5cb84a (patch)
treec95871724d3f1385eceb9147c90f608107816d24 /source/pdf/pdf-pkcs7.c
parent207b2a0fa3943bfb8d8c35e4202d2ef10e782bcb (diff)
downloadmupdf-276d97cb194f4ed4cacfa44a3b6fba2c3c5cb84a.tar.xz
Rename openssl flags to libcrypto.
Only libcrypto is used to do checking of digital signatures. The SSL library openssl is never used.
Diffstat (limited to 'source/pdf/pdf-pkcs7.c')
-rw-r--r--source/pdf/pdf-pkcs7.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/pdf/pdf-pkcs7.c b/source/pdf/pdf-pkcs7.c
index 9fa15970..738a4df4 100644
--- a/source/pdf/pdf-pkcs7.c
+++ b/source/pdf/pdf-pkcs7.c
@@ -1,6 +1,6 @@
#include "mupdf/pdf.h" // TODO: move this file to pdf module
-#ifdef HAVE_OPENSSL
+#ifdef HAVE_LIBCRYPTO
#include "openssl/err.h"
#include "openssl/bio.h"
@@ -770,7 +770,7 @@ int pdf_signatures_supported(fz_context *ctx)
return 1;
}
-#else /* HAVE_OPENSSL */
+#else /* HAVE_LIBCRYPTO */
int pdf_check_signature(fz_context *ctx, pdf_document *doc, pdf_widget *widget, char *file, char *ebuf, int ebufsize)
{
@@ -800,4 +800,4 @@ int pdf_signatures_supported(fz_context *ctx)
return 0;
}
-#endif /* HAVE_OPENSSL */
+#endif /* HAVE_LIBCRYPTO */