Descriptioncrypto/tls: allow certificates and key to be in either order.
X509KeyPair wasn't really supposed to allow the certificate and
key to be in the same file, but it did work if you put the key
first. Since some HTTPS servers support loading keys and certs
like this, this change makes it work in either order.
Fixes issue 3986.
Patch Set 1 #Patch Set 2 : diff -r 4a9c3b3e39c6 https://code.google.com/p/go/ #Patch Set 3 : diff -r 4a9c3b3e39c6 https://code.google.com/p/go/ #
Total comments: 2
Patch Set 4 : diff -r 4a9c3b3e39c6 https://code.google.com/p/go/ #Patch Set 5 : diff -r fead9e11a489 https://code.google.com/p/go/ #
MessagesTotal messages: 5
|