| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
This allows the code to be used on 64-bit VMs.
Change-Id: I4d01bfcd0ffea528c6179687771d047fdcb4d18a
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I764d86db1d74c5daf54cc925a9fc76db15a1107a
|
|/
|
|
|
| |
Bug: 8322568
Change-Id: Iab9a782181a663719b88f090f474b66d24b69258
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This makes OpenSSL-backed KeyFactory instances (RSA, DSA, EC)
translateKey method throw InvalidKeyException for "opaque" keys whose
getFormat() returns non-null while getEncoded() returns null.
Prior to this change a NullPointerException was thrown.
Change-Id: Ie0f3ec27356307338839f4c2b248b0e79578e19b
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Fix the reported bug caused by delegation in the MappedByteBuffer
implementation.
* Collapse the three classes (ReadOnly*, ReadWrite*, and *) used
to implement most buffer types into one class each.
* Rename HeapByteBuffer to ByteArrayBuffer to match its companions.
* Remove BaseByteBuffer.
* Give the classes used to implement asXBuffer sane names (their
existing names were backwards).
Bug: https://code.google.com/p/android/issues/detail?id=53637
Change-Id: I2a7ff4f1d502564389615384324afadabccb04f9
|
|/
|
|
|
| |
Bug: https://code.google.com/p/android/issues/detail?id=53637
Change-Id: I823662b39cb48b5f4456f4c58269324dfcdc2fd1
|
|
|
|
|
|
|
| |
So mp3 really ought to be the first choice for audio/mpeg.
Bug: https://code.google.com/p/android/issues/detail?id=53598
Change-Id: I90fb45c0a71ae4b4b4a81357507ac188cbf19919
|
|
|
|
|
|
|
| |
An AF_UNSPEC sockaddr may not have any data, but it does have two bytes
of ss_family.
Change-Id: Ia2423989db1a4094fc9bbfdb5565ee2074743747
|
|
|
|
|
|
| |
This reverts commit 713a61f90f3e9c9ac74713784d23da45d205a0f8
Change-Id: Ib021fdf15b646ab60b0170094ebd2057c405167c
|
|\ |
|
| |
| |
| |
| |
| |
| | |
On Linux, EWOULDBLOCK == EAGAIN, and having a synonym is just confusing.
Change-Id: If53c4ba6d82eed2236dec12003c4c9512c4ecbee
|
|/
|
|
|
|
| |
This reverts commit 32690f22c0bbfa2b72972d45088e6663ce56174f
Change-Id: I381a6cac42363355cf89bb751ca17d34f3ab1238
|
|
|
|
|
| |
Bug: 8444077
Change-Id: Ic78afc36f94fccc6a473893b0c218cd07b441dc7
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
We shouldn't depend on the current time! (Clearing HOUR_OF_DAY but not HOUR
meant that the time is recomputed from the current HOUR.)
Change-Id: Ib88b31869937f6ae367e6e0c57f406f18ae07cbe
|
|/
|
|
|
| |
Bug: 8172001
Change-Id: I39ca6d7480ad0c4dc6628c412e73fc2b5bf01689
|
|\ |
|
| |
| |
| |
| |
| | |
Bug: 6513075
Change-Id: I0b0166f59745ac8175b39d7796c093041b2df4fd
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The SubjectAlternativeNameTest was failing on getting a mapped IPv4
address back of the form "::ffff:127.0.0.1" which should be handled
fine.
Added several tests to InetAddressTest to make sure the correct handling
of mapped addresses doesn't regress.
Change-Id: If6e1ca8bda405d4862786404d1ced571743391f2
|
|/
|
|
|
| |
Bug: https://code.google.com/p/android/issues/detail?id=23831
Change-Id: I0b2af4a3691727735154f1b9f03dba62600dbc31
|
|\ |
|
| |
| |
| |
| |
| | |
Bug: https://code.google.com/p/android/issues/detail?id=24846
Change-Id: Ibd64e5a158d14812729dee82b64417f52eef771c
|
|\ \
| |/
|/| |
|
| |
| |
| |
| | |
Change-Id: I403a6e3c123f25da23a31d540a6b59060e297f63
|
|/
|
|
|
| |
Bug: https://code.google.com/p/android/issues/detail?id=45877
Change-Id: I49c82916a25388864f4acd12e09de984f72e8653
|
|\
| |
| |
| | |
in write(2)."
|
| |
| |
| |
| |
| | |
Bug: 8272932
Change-Id: Id0b9b23176bf179af85bcaf321df5bab05b093be
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When we receive an invalid DNS alt name (e.g., contains characters
outside of the ASCII printable range), we should throw an exception to
match the previous behavior. This is not validated this against the RI
since the tests currently don't work, but it brings the behavior back to
what it was previously.
Also amend the previous ASN.1 string check to use
ASN1_PRINTABLE_type(...) which actually scans the string to check its
contents. This is what was meant in the last patch.
Bug: 8398461
Change-Id: I260f045a2e144fb9ded7e1d3aa46592da8f63272
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
The level parameter (constructors, setLevel, etc)
can be [-1..9], but the docs incorrectly stated [-1..8]
and [0..9].
Explain fully what compression level means in the Deflater
class documentation and point everything else to that
canonical source.
Change-Id: I4b76965d88f0fd0f383bb15a5259a5fa5d81f2b1
Signed-off-by: Jorrit Jongma <jorrit@jongma.org>
|
|
|
|
|
|
|
|
|
| |
While this test worked fine from the dalvik command line, it failed
when run as part of the frameworks test runner which overrides the
default UncaughtExceptionHandler to do more than log.
Bug: 8272842
Change-Id: I09d53863b901148cada8852cd46c3e88e372ac90
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
investigation
1.) Fixed the failure of libcore.javax.net.ssl.SSLSocketTest's
test_SSLSocket_setSoWriteTimeout by setting send/recv buffer sizes earlier (b/8272932)
2.) Fixed javadoc bug in java.net.Socket
3.) Fixed implementation bug in IoBridge affecting reading SO_RCVBUF
4.) Fixed bug where we would leave unsent bytes in OpenSSL write buffer after SSLSocket write
possible cause of b/6693087
Bug: 8272932
Bug: 6693087
Change-Id: I54e084e58e8b10583a6ac3051d5e05e519139d64
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Certificates with rfc822Name, dNSName, or uniformResourceLocator must be
an IA5String, but OpenSSL doesn't enforce that during parsing. Return
NULL for those entries that don't comply.
Change-Id: I26727007196980648955f861df1d1cc013506911
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| | |
Bug: 8391426
Change-Id: I7b1335a8d8e0c804d68c85b18b1c4891ec269c1d
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: I7b4a9d89cab8d35491d2d6efb6dfc0fae8e705d7
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
The documentation for X509Certificate#getExtendedKeyUsage says that it
must return an unmodifiable list. The test was testing the exact
opposite was true.
Change-Id: I0f99ed6c8f2ddcc59ce6b90b973ccabd0dce35f6
|
|/
|
|
| |
Change-Id: I284bdb4d037d511390a6beb8518eb9bf9c50f25f
|
|
|
|
|
|
| |
OpenSSL provider now passes all the tests.
This reverts commit b01f3e895e3ae81bdf9c054ada18c503a2f01086.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The test was counting the wrong thing. The alias code path is only
triggered by X509 and X.509. This worked when there was only 2 providers
that pointed at the opposites. When there were three the problem showed
up since it wasn't incrementing the right one.
Change-Id: Id4d01a1981658521a36c42c5d3aea13110069583
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is to accept both the "transparent" and "opaque" ECC private
keys. "Transparent" keys provide structured access to their key
material -- these are instances of ECPrivateKey. "Opaque" private
keys are not required to provide structured (or even any) access to
their key material -- these are instances of PrivateKey.
Change-Id: I3fdc4c46675bde48c72424f1cc8f59c3d6b89f0e
|
| |
| |
| |
| |
| |
| |
| | |
The OpenSSL error to Exception mapping is growing, so just move to using
switch statement so we can add more mapping easily.
Change-Id: I223959e4252c1d764ebdf83d9ab143ff291dec1a
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fix unit tests for ICU 51 patches; add tests for new German index labels.
(cherry pick of 0fd5668d136c0e9434bfb3f20ae0a22f17494bff.)
Change-Id: I539a3e2fc9834eb15e22de377abdfbacccfb9741
|