| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ntohX() in Chrome.
This primarily addresses issues with code using the OS-provided htonX() & ntohX() functions from within the Chrome sandbox. Under Windows these functions are provided by ws2_32.dll, which is no longer available within Chrome's sandbox.
The new base::HostToNetXX() and NetToHostXX() functions are safe for use by sandboxed code on Windows, and provide a single place where future fixes for other platforms can be made.
BUG=117252
Review URL: http://codereview.chromium.org/9716020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129476 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Two motivations:
(1) There are currently clients in src/crypto that need the same logic.
(2) There is soon to be a client in src/chrome/common that needs the 64-bit version of this logic, which is currently inlined in a src/crypto implementation file.
BUG=103480
TEST=compiles
Review URL: http://codereview.chromium.org/8949026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115926 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
net/base/host_resolver_proc.cc:
- define AI_ADDRCONFIG as 0
net/base/listen_socket.cc:
- Shuffle and add missing headers since the order
of including these matters.
net/base/net_util.h:
- Missing header for all POSIX platforms. Needed on
OpenBSD and it won't hurt others.
net/dns/dns_config_service_posix.h:
- Missing header for OpenBSD. The order matters here too
net/dns/dns_config_service_posix.cc:
- Use res_init() on OpenBSD and disable RES_ROTATE
if it is not defined
net/net.gyp:
- Do not use libresolv on OpenBSD since it's not there,
the resolver is in libc.
- Include base/platform_mime_util_linux.cc in the OpenBSD builds.
BUG=
TEST=
Review URL: http://codereview.chromium.org/8336024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106604 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
R=wtc
BUG=none
TEST=crypto_unittests
Review URL: http://codereview.chromium.org/7230037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91800 0039d316-1c4b-4281-b951-d872f2087c98
|
|
Implement AES-128-CTR.
BUG=87152
TEST=None
Review URL: http://codereview.chromium.org/7056026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90425 0039d316-1c4b-4281-b951-d872f2087c98
|