Browse Source

avoid unixy salt gen on windows.

cl-refactor
Gav Wood 10 years ago
parent
commit
82145e1bb4
  1. 2
      libscrypt/crypto-scrypt-saltgen.c

2
libscrypt/crypto-scrypt-saltgen.c

@ -1,3 +1,4 @@
#ifndef _MSC_VER
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <stdint.h> #include <stdint.h>
@ -46,3 +47,4 @@ int libscrypt_salt_gen(uint8_t *salt, size_t len)
return 0; return 0;
} }
#endif

Loading…
Cancel
Save