--- a/crypto/weakcryptospi/source/random/random.cpp Mon Mar 08 21:45:09 2010 +0000
+++ b/crypto/weakcryptospi/source/random/random.cpp Sun Mar 14 13:16:12 2010 +0000
@@ -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;
}
-