]> Cypherpunks repositories - gostls13.git/commit
crypto/x509: detect OS X version for FetchPEMRoots at run time
authorBrad Fitzpatrick <bradfitz@golang.org>
Tue, 26 Jul 2016 21:58:44 +0000 (23:58 +0200)
committerChris Broadfoot <cbro@golang.org>
Tue, 26 Jul 2016 23:16:15 +0000 (23:16 +0000)
commit4a15508c663429652d32f5363c0964152b28dd74
tree9eb020b7f403acac0d34254a2e44eaa717313577
parent66b47431cba75ce23630e17c1a3aa000e7b33d06
crypto/x509: detect OS X version for FetchPEMRoots at run time

https://golang.org/cl/25233 was detecting the OS X release at compile
time, not run time. Detect it at run time instead.

Fixes #16473 (again)

Change-Id: I6bec4996e57aa50c52599c165aa6f1fae7423fa7
Reviewed-on: https://go-review.googlesource.com/25281
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Andrew Gerrand <adg@golang.org>
Reviewed-by: Chris Broadfoot <cbro@golang.org>
src/crypto/x509/root_cgo_darwin.go