OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef NET_ANDROID_LEGACY_OPENSSL_H | 5 #ifndef NET_ANDROID_LEGACY_OPENSSL_H_ |
6 #define NET_ANDROID_LEGACY_OPENSSL_H | 6 #define NET_ANDROID_LEGACY_OPENSSL_H_ |
7 | 7 |
8 // This file contains a replica of the Android system OpenSSL ABI shipped in | 8 // This file contains a replica of the Android system OpenSSL ABI shipped in |
9 // Android 4.1.x (API level 16). The ABI may not necessarily be compatible with | 9 // Android 4.1.x (API level 16). The ABI may not necessarily be compatible with |
10 // the copy of OpenSSL shipped in Chromium. This is used to implement | 10 // the copy of OpenSSL shipped in Chromium. This is used to implement |
11 // RSA_private_encrypt in one of the legacy client auth codepaths. | 11 // RSA_private_encrypt in one of the legacy client auth codepaths. |
12 // | 12 // |
13 // See https://android.googlesource.com/platform/external/openssl/+/android-4.1.
2_r2.1 | 13 // See https://android.googlesource.com/platform/external/openssl/+/android-4.1.
2_r2.1 |
14 | 14 |
15 namespace net { | 15 namespace net { |
16 namespace android { | 16 namespace android { |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 char* ptr; | 87 char* ptr; |
88 AndroidRSA* rsa; | 88 AndroidRSA* rsa; |
89 } pkey; | 89 } pkey; |
90 int save_parameters; | 90 int save_parameters; |
91 AndroidSTACK* attributes; | 91 AndroidSTACK* attributes; |
92 }; | 92 }; |
93 | 93 |
94 } // namespace android | 94 } // namespace android |
95 } // namespace net | 95 } // namespace net |
96 | 96 |
97 #endif // NET_ANDROID_LEGACY_OPENSSL_H | 97 #endif // NET_ANDROID_LEGACY_OPENSSL_H_ |
OLD | NEW |