summaryrefslogtreecommitdiff
path: root/randpool.cpp
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-07-04 00:17:37 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-07-04 00:17:37 +0000
commit572fe07633123ce38abf28c6426356e37aef3a99 (patch)
tree0536d87e504a82920156c239bc5ae6aa43e70ebc /randpool.cpp
parent3e8c979ddc194e043567c036321e67c89f847362 (diff)
downloadcryptopp-572fe07633123ce38abf28c6426356e37aef3a99.tar.gz
create DLL version, fix GetNextIV() bug in CTR and OFB modes
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@87 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'randpool.cpp')
-rw-r--r--randpool.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/randpool.cpp b/randpool.cpp
index 9fa0b4b..d28f7a9 100644
--- a/randpool.cpp
+++ b/randpool.cpp
@@ -2,6 +2,9 @@
// The algorithm in this module comes from PGP's randpool.c
#include "pch.h"
+
+#ifndef CRYPTOPP_IMPORTS
+
#include "randpool.h"
#include "mdc.h"
#include "sha.h"
@@ -98,3 +101,5 @@ void RandomPool::GenerateBlock(byte *outString, unsigned int size)
}
NAMESPACE_END
+
+#endif