From 276d97cb194f4ed4cacfa44a3b6fba2c3c5cb84a Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Wed, 16 Nov 2016 01:40:34 +0800 Subject: Rename openssl flags to libcrypto. Only libcrypto is used to do checking of digital signatures. The SSL library openssl is never used. --- source/pdf/pdf-pkcs7.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source') 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 */ -- cgit v1.2.3