return SSH_DIGEST_SHA256; if (strcmp(alg, "rsa-sha2-512-cert-v01@openssh.com") == 0) return SSH_DIGEST_SHA512; return -1; } static int rsa_hash_alg_nid(int type) { switch (type) { case SSH_DIGEST_SHA1: return NID_sha1; case SSH_DIGEST_SHA256: return NI...
Portable OpenSSH. Contribute to gebaba/openssh-portable development by creating an account on GitHub.