summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-08 04:08:28 +0000
committerwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-08 04:08:28 +0000
commit32c78710879f757036171afd68c1d2241b4ba909 (patch)
treeb89ec661c95a3a703b4165ab1ba5d387a036884f /crypto
parent726f07569f1cce45d08367f7365c5be0693a849e (diff)
downloadchromium_src-32c78710879f757036171afd68c1d2241b4ba909.zip
chromium_src-32c78710879f757036171afd68c1d2241b4ba909.tar.gz
chromium_src-32c78710879f757036171afd68c1d2241b4ba909.tar.bz2
Add the QuicRandom interface with a default implementation that is
both cryptographically secure and thread-safe. The default QuicRandom is a singleton. crypto/random.h can include the smaller <stddef.h> for size_t. Add missing header files to net/net.gyp. R=rch@chromium.org BUG=none TEST=new unit tests Review URL: https://chromiumcodereview.appspot.com/11476031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171931 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'crypto')
-rw-r--r--crypto/random.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/random.h b/crypto/random.h
index cdbe8a9..002616b 100644
--- a/crypto/random.h
+++ b/crypto/random.h
@@ -5,7 +5,7 @@
#ifndef CRYPTO_RANDOM_H_
#define CRYPTO_RANDOM_H_
-#include <stdlib.h>
+#include <stddef.h>
#include "crypto/crypto_export.h"