From 59bb5110e78bf15f41a58af80d716a76f3722b94 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 14 Apr 2011 13:51:44 +0200 Subject: Expose informational encryption details. --- apps/win_main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apps/win_main.c') diff --git a/apps/win_main.c b/apps/win_main.c index 1e7a24b4..fc276988 100644 --- a/apps/win_main.c +++ b/apps/win_main.c @@ -231,7 +231,9 @@ dloginfoproc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) if (xref->crypt) { - SetDlgItemTextA(hwnd, 0x12, "Encrypted."); + sprintf(buf, "Standard V%d %d-bit %s", pdf_get_crypt_revision(xref), + pdf_get_crypt_length(xref), pdf_get_crypt_method(xref)); + SetDlgItemTextA(hwnd, 0x12, buf); strcpy(buf, ""); if (pdf_has_permission(xref, PDF_PERM_PRINT)) strcat(buf, "print, "); -- cgit v1.2.3