diff options
| author | Jeffrey Walton <noloader@gmail.com> | 2017-03-07 04:52:37 -0500 |
|---|---|---|
| committer | Jeffrey Walton <noloader@gmail.com> | 2017-03-07 04:52:37 -0500 |
| commit | 78823bfd0cef7186ee0c32e44ee72ab62409a567 (patch) | |
| tree | ef3f9b989cec67d419b3d6eb31656934dc75487e /osrng.cpp | |
| parent | 585b23d7b10a78eb5f04a713a978a091c848ae63 (diff) | |
| download | cryptopp-git-78823bfd0cef7186ee0c32e44ee72ab62409a567.tar.gz | |
Add StaticAlgorithmName to select RNGs for object registry (Issue 386)
Diffstat (limited to 'osrng.cpp')
| -rw-r--r-- | osrng.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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)
|
