summaryrefslogtreecommitdiff
path: root/osrng.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-03-07 04:52:37 -0500
committerJeffrey Walton <noloader@gmail.com>2017-03-07 04:52:37 -0500
commit78823bfd0cef7186ee0c32e44ee72ab62409a567 (patch)
treeef3f9b989cec67d419b3d6eb31656934dc75487e /osrng.cpp
parent585b23d7b10a78eb5f04a713a978a091c848ae63 (diff)
downloadcryptopp-git-78823bfd0cef7186ee0c32e44ee72ab62409a567.tar.gz
Add StaticAlgorithmName to select RNGs for object registry (Issue 386)
Diffstat (limited to 'osrng.cpp')
-rw-r--r--osrng.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/osrng.cpp b/osrng.cpp
index f59853cd..0619b34d 100644
--- a/osrng.cpp
+++ b/osrng.cpp
@@ -20,9 +20,6 @@
#include "rng.h"
#ifdef CRYPTOPP_WIN32_AVAILABLE
-//#ifndef _WIN32_WINNT
-//#define _WIN32_WINNT 0x0400
-//#endif
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#if defined(USE_MS_CRYPTOAPI)
@@ -34,7 +31,6 @@
# define CRYPT_MACHINE_KEYSET 0x00000020
#endif
#elif defined(USE_MS_CNGAPI)
-//#include <ntdef.h>
#include <bcrypt.h>
#ifndef BCRYPT_SUCCESS
# define BCRYPT_SUCCESS(Status) (((NTSTATUS)(Status)) >= 0)