]> Cypherpunks repositories - gostls13.git/commit
crypto/x509: use SecItemExport instead of deprecated SecKeychainItemExport
authorTobias Klauser <tklauser@distanz.ch>
Tue, 5 Jun 2018 20:41:10 +0000 (22:41 +0200)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 6 Jun 2018 17:59:08 +0000 (17:59 +0000)
commit11f6cb43a0db4f8c8a7c91c23cb88a30c5ed37bf
tree9a43c04ea95daf89b43cb0c4fd550b8729607287
parent7c1f361e253dbc61e2456c9778104da18f61a0a5
crypto/x509: use SecItemExport instead of deprecated SecKeychainItemExport

SecKeychainItemExport is deprecated as of macOS 10.7. The minimum
supported version is macOS 10.10, so use SecItemExport instead.

While at it also bump macosx-version-min to 10.10 and
__MAC_OS_X_VERSION_MAX_ALLOWED to 101300 (for macOS 10.13).

Tested on macOS 10.10, 10.11 and 10.12.

Updates #23122

Change-Id: Id4cd6a5cea93315791253dc248e40e5615760a6c
Reviewed-on: https://go-review.googlesource.com/116396
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/crypto/x509/root_cgo_darwin.go