Index: src/trusted/desc/nacl_desc_wrapper.cc |
diff --git a/src/trusted/desc/nacl_desc_wrapper.cc b/src/trusted/desc/nacl_desc_wrapper.cc |
index 950b6719865dd07a279faf963ce8a376d9f9fc23..724eb6be03eede32ae4153fcce0600c41814f140 100644 |
--- a/src/trusted/desc/nacl_desc_wrapper.cc |
+++ b/src/trusted/desc/nacl_desc_wrapper.cc |
@@ -18,7 +18,6 @@ |
#include "native_client/src/trusted/desc/nacl_desc_invalid.h" |
#include "native_client/src/trusted/desc/nacl_desc_io.h" |
#include "native_client/src/trusted/desc/nacl_desc_quota.h" |
-#include "native_client/src/trusted/desc/nacl_desc_rng.h" |
#include "native_client/src/trusted/desc/nacl_desc_sync_socket.h" |
#include "native_client/src/trusted/desc/nacl_desc_wrapper.h" |
#include "native_client/src/trusted/desc/nrd_xfer.h" |
@@ -306,20 +305,6 @@ DescWrapper* DescWrapperFactory::OpenHostFileQuota(const char* fname, |
return MakeGenericCleanup(desc_quota); |
} |
-DescWrapper* DescWrapperFactory::OpenRng() { |
- struct NaClDescRng* nhrp = |
- reinterpret_cast<struct NaClDescRng*>(calloc(1, sizeof(*nhrp))); |
- if (NULL == nhrp) { |
- return NULL; |
- } |
- if (!NaClDescRngCtor(nhrp)) { |
- free(nhrp); |
- return NULL; |
- } |
- |
- return MakeGenericCleanup(reinterpret_cast<struct NaClDesc*>(nhrp)); |
-} |
- |
DescWrapper* DescWrapperFactory::MakeInvalid() { |
struct NaClDescInvalid *desc = |
const_cast<NaClDescInvalid*>(NaClDescInvalidMake()); |