Try to use truly random data to initialize the random number generator

Fixed: crash when closing the PasswordDlg by clicking on the x
Fixed: -cfg parameter not working
Fixed: does not compile for Windows
Fixed some compiler warnings

git-svn-id: https://svn.code.sf.net/p/keepassx/code/trunk@176 b624d157-de02-0410-bad0-e51aec6abb33
This commit is contained in:
sniperbeamer
2008-03-08 14:18:32 +00:00
parent e9a85f91fc
commit b8f59f9f04
12 changed files with 98 additions and 85 deletions

View File

@@ -20,7 +20,6 @@
#ifndef RANDOM_H_
#define RANDOM_H_
extern void getRandomBytes(void* buffer,int NumBlocks,int BlockSize=1,bool Strong=false);
extern void getRandomBytes(void* buffer,int NumBlocks);
#endif
#endif