Commit 875f45f
[release/6.0-staging] Fix copying ephemeral keys to keychains.
Starting on macOS Sequoia, at least in beta, SecKeychainitemCopyKeychain no longer returns errSecNoSuchKeychain for ephemeral keys.
Instead, it returns errSecInvalidItemRef.
This adds the error code in the handling logic for when we need to add an ephemeral key to the target keychain.
Co-authored-by: Kevin Jones <kevin@vcsjones.com>1 parent 26c2e13 commit 875f45f
File tree
1 file changed
+1
-1
lines changed- src/libraries/Native/Unix/System.Security.Cryptography.Native.Apple
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
394 | | - | |
| 394 | + | |
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
| |||
0 commit comments