1
0
mirror of https://github.com/octoleo/syncthing.git synced 2025-01-04 23:55:22 +00:00
syncthing/lib/tlsutil
greatroar 152388b3a3
lib/tlsutil: Use crypto.Signer interface ()
*rsa.PrivateKey and *ecdsa.PrivateKey are both Signers, which have a
method to get the public key. No need for the type switch.
2022-09-09 14:22:38 +02:00
..
tlsutil_test.go lib/tlsutil: Allocate UnionedConnection in one go () 2021-09-21 08:40:34 +02:00
tlsutil.go lib/tlsutil: Use crypto.Signer interface () 2022-09-09 14:22:38 +02:00