diff -r 721a5e5fe251 -r 9b5a3a9fddf8 crypto/weakcryptospi/source/random/random.cpp --- 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 #include #include - -#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; } -