summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/windows/winmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/windows/winmain.c b/apps/windows/winmain.c
index 170cd46b..5307ed3b 100644
--- a/apps/windows/winmain.c
+++ b/apps/windows/winmain.c
@@ -193,7 +193,7 @@ dloginfoproc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
if (xref->crypt)
{
- sprintf(buf, "Standard %d bit RC4", xref->crypt->n * 8);
+ sprintf(buf, "Standard %d bit RC4", xref->crypt->len * 8);
SetDlgItemTextA(hwnd, 0x12, buf);
strcpy(buf, "");
if (xref->crypt->p & (1 << 2))