mirror of
https://github.com/octoleo/syncthing.git
synced 2025-02-07 14:28:27 +00:00
*rsa.PrivateKey and *ecdsa.PrivateKey are both Signers, which have a method to get the public key. No need for the type switch.
*rsa.PrivateKey and *ecdsa.PrivateKey are both Signers, which have a method to get the public key. No need for the type switch.