|
|
Use SecKeyCreateSignature on macOS 10.12 and later.
macOS 10.12 breaks the CSSM code for smartcards. Switch to the new APIs.
In the process, refactor the Android unit tests to be common on all
platforms and unit test this stuff. SecKeychainCreate finally works, so
we can unit test the entire path from certificate to key and compare
signatures against OpenSSL.
That second part probably bears repeating. Eight years into the project's
lifetime, we FINALLY have unit tests for this code!
BUG= 666796, 673058
Committed: https://crrev.com/ebe0803de7a569dee0c7b0ab6b4685dc749b8f29
Cr-Commit-Position: refs/heads/master@{#438392}
Total comments: 24
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+656 lines, -182 lines) |
Patch |
 |
M |
net/net.gypi
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/ssl/ssl_platform_key.h
|
View
|
1
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/ssl/ssl_platform_key_android.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/ssl/ssl_platform_key_android_unittest.cc
|
View
|
|
6 chunks |
+24 lines, -150 lines |
0 comments
|
Download
|
 |
M |
net/ssl/ssl_platform_key_chromecast.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
net/ssl/ssl_platform_key_mac.h
|
View
|
1
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/ssl/ssl_platform_key_mac.cc
|
View
|
1
|
7 chunks |
+212 lines, -24 lines |
0 comments
|
Download
|
 |
A |
net/ssl/ssl_platform_key_mac_unittest.cc
|
View
|
1
|
1 chunk |
+137 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/ssl/ssl_platform_key_nss.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/ssl/ssl_platform_key_win.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
net/ssl/ssl_private_key_test_util.h
|
View
|
1
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
A |
net/ssl/ssl_private_key_test_util.cc
|
View
|
1
|
1 chunk |
+221 lines, -0 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 23 (13 generated)
|