crypto/weakcryptospi/source/random/random.cpp
branchRCL_3
changeset 41 9b5a3a9fddf8
parent 19 cd501b96611d
child 44 d07aa956024a
--- a/crypto/weakcryptospi/source/random/random.cpp	Tue Jan 26 13:18:49 2010 +0200
+++ b/crypto/weakcryptospi/source/random/random.cpp	Sat Feb 20 00:36:18 2010 +0200
@@ -24,9 +24,6 @@
 #include <e32math.h>
 #include <random.h>
 #include <hash.h>
-
-#include "randsvr.h"
-#include "randcliserv.h"
 #include "randomshim.h"
 
 extern "C" {
@@ -93,6 +90,12 @@
 	// Method replaced by shim
 	TRandomShim::RandomL(aDestination);
 	}
+	
+EXPORT_C void TRandom::SecureRandomL(TDes8& aDestination)
+	{
+	// Method replaced by shim
+	TRandomShim::SecureRandomL(aDestination);
+	}
 
 EXPORT_C RRandomSession::RRandomSession(void)
 	{
@@ -114,4 +117,3 @@
 	TRandomShim::Random(aDestination);
 	return KErrNone;
 	}
-