Use NO_OS_DEPENDENCE in osrng class files (Issue 377)

Thanks to Mattias Linnap for raising the issue
pull/378/head
Jeffrey Walton 2017-02-18 17:38:40 -05:00
parent 26e2e12b6a
commit c22f3228fb
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@
# pragma message("WARNING: Compiling for Windows but an OS RNG is not available. This is likely a Windows Phone 8 or Windows Store 8 app.")
#endif
#if !defined(OS_NO_DEPENDENCE) && defined(OS_RNG_AVAILABLE)
#if !defined(NO_OS_DEPENDENCE) && defined(OS_RNG_AVAILABLE)
#include "osrng.h"
#include "rng.h"

View File

@ -8,7 +8,7 @@
#include "config.h"
#if !defined(OS_NO_DEPENDENCE) && defined(OS_RNG_AVAILABLE)
#if !defined(NO_OS_DEPENDENCE) && defined(OS_RNG_AVAILABLE)
#include "cryptlib.h"
#include "randpool.h"