diff options
Diffstat (limited to 'fitz/crypt_pkcs7.c')
-rw-r--r-- | fitz/crypt_pkcs7.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/crypt_pkcs7.c b/fitz/crypt_pkcs7.c index 47f272a7..1bc50b6e 100644 --- a/fitz/crypt_pkcs7.c +++ b/fitz/crypt_pkcs7.c @@ -379,7 +379,7 @@ int pdf_check_signature(fz_context *ctx, pdf_document *doc, pdf_widget *widget, fz_catch(ctx) { res = 0; - strncpy(ebuf, ctx->error->message, ebufsize); + strncpy(ebuf, fz_caught_message(ctx), ebufsize); } if (ebufsize > 0) |