--- 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;
}
-