diff options
author | Erik Lander <treat@gmx.com> | 2017-01-16 02:55:53 +0100 |
---|---|---|
committer | Erik Lander <treat@gmx.com> | 2017-01-16 02:55:53 +0100 |
commit | 045e4bfe862e971a9eaa55fdce5504221d0bfaef (patch) | |
tree | 9a62df1aa9aaabdf5a249e364822216f8be044d0 /src/src.pro | |
parent | ecd3519bbd7f425038b634997660eb30fb3451a5 (diff) |
use win32 crypt api for password generation on windows
creates a new function rand in the util class that calls bcryptgenrandom
from the win32 api when running on windows and falls back to qrand on
other platforms
Diffstat (limited to 'src/src.pro')
-rw-r--r-- | src/src.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src.pro b/src/src.pro index 0a5811a5..d2eada8b 100644 --- a/src/src.pro +++ b/src/src.pro @@ -164,7 +164,7 @@ win32 { } gcc:QMAKE_LFLAGS += -Wl,--dynamicbase -Wl,--nxcompat msvc:QMAKE_LFLAGS += /DYNAMICBASE /NXCOMPAT - LIBS += -lmpr + LIBS += -lmpr -lbcrypt } else:macx { ICON = ../artwork/icon.icns QMAKE_INFO_PLIST = ../qtpass.plist |