mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 09:54:25 +09:00
Remove support for DSA Keys
Solving issue #110. The original work is at !231 Some changes were needed because the newly added features in master through time Signed-off-by: Mohammad Shehar Yaar Tausif <sheharyaar48@gmail.com> Signed-off-by: Norbert Pocs <npocs@redhat.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
committed by
Jakub Jelen
parent
486df37a84
commit
a3a13eb3a8
@@ -70,7 +70,7 @@
|
||||
* @param[out] found_type A pointer to a string to be set with the found key
|
||||
* type.
|
||||
*
|
||||
* @returns The found_type type of key (ie "dsa","ssh-rsa"). Don't
|
||||
* @returns The found_type type of key (ie "ssh-rsa"). Don't
|
||||
* free that value. NULL if no match was found or the file
|
||||
* was not found.
|
||||
*/
|
||||
@@ -152,7 +152,7 @@ static int check_public_key(ssh_session session, char **tokens) {
|
||||
char *pubkey_64;
|
||||
int rc;
|
||||
|
||||
/* ssh-dss or ssh-rsa */
|
||||
/* ssh-rsa, ssh-ed25519, .. */
|
||||
pubkey_64 = tokens[2];
|
||||
pubkey_buffer = base64_to_bin(pubkey_64);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user