From 572fe07633123ce38abf28c6426356e37aef3a99 Mon Sep 17 00:00:00 2001 From: weidai Date: Fri, 4 Jul 2003 00:17:37 +0000 Subject: 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 --- fips140.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'fips140.cpp') diff --git a/fips140.cpp b/fips140.cpp index 7781956..1fcf590 100644 --- a/fips140.cpp +++ b/fips140.cpp @@ -1,6 +1,9 @@ // fips140.cpp - written and placed in the public domain by Wei Dai #include "pch.h" + +#ifndef CRYPTOPP_IMPORTS + #include "fips140.h" #include "trdlocal.h" // needs to be included last for cygwin @@ -32,7 +35,7 @@ void SimulatePowerUpSelfTestFailure() g_powerUpSelfTestStatus = POWER_UP_SELF_TEST_FAILED; } -PowerUpSelfTestStatus GetPowerUpSelfTestStatus() +PowerUpSelfTestStatus CRYPTOPP_API GetPowerUpSelfTestStatus() { return g_powerUpSelfTestStatus; } @@ -77,3 +80,5 @@ void SignaturePairwiseConsistencyTest_FIPS_140_Only(const PK_Signer &signer, con } NAMESPACE_END + +#endif -- cgit v1.2.1