From b8a7a9809b6549bbab6c0567f681773b04bba426 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 4 Jun 2016 19:21:16 +0200 Subject: [PATCH] Add a note about wxSecretValue size limit under MSW Mention that passwords are limited to 2560 bytes under Windows 7. --- interface/wx/secretstore.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/interface/wx/secretstore.h b/interface/wx/secretstore.h index 4daa66ff58..fc28c208f5 100644 --- a/interface/wx/secretstore.h +++ b/interface/wx/secretstore.h @@ -31,6 +31,10 @@ public: The @a data argument may contain NUL bytes and doesn't need to be NUL-terminated. + + Notice that at least under MSW the maximal size of the secret is + limited. The exact limit depends on the OS version and is e.g. 2560 for + Windows 7. */ wxSecretValue(size_t size, const void *data);