diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2011-04-14 13:51:44 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2011-04-14 13:51:44 +0200 |
commit | 59bb5110e78bf15f41a58af80d716a76f3722b94 (patch) | |
tree | a962a5a7743422a2a415cc18c58930bc0e5da71a /apps | |
parent | 997a4fcacbc0e4767d61f89d1f66b6715e6ded0e (diff) | |
download | mupdf-59bb5110e78bf15f41a58af80d716a76f3722b94.tar.xz |
Expose informational encryption details.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/win_main.c | 4 |
1 files changed, 3 insertions, 1 deletions
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, "); |