diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2011-08-19 11:14:23 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-08-19 11:14:23 +0200 |
commit | c575de17a8d020149ac9122da3b772ebca180115 (patch) | |
tree | 98ee403bee5aa2e21ab51d4cca50da50c12f76db /src/legacy.c | |
parent | 3e56ac650cdd5d28fd3a4c6b1e6686b3a7725e7e (diff) | |
download | libssh-c575de17a8d020149ac9122da3b772ebca180115.tar.gz libssh-c575de17a8d020149ac9122da3b772ebca180115.tar.xz libssh-c575de17a8d020149ac9122da3b772ebca180115.zip |
pki: Use a consistent naming scheme.
Diffstat (limited to 'src/legacy.c')
-rw-r--r-- | src/legacy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/legacy.c b/src/legacy.c index ec81c22..531feb6 100644 --- a/src/legacy.c +++ b/src/legacy.c @@ -355,7 +355,7 @@ ssh_string publickey_from_file(ssh_session session, const char *filename, return NULL; } - key_str = ssh_pki_publickey_to_blob(key); + key_str = ssh_pki_export_pubkey_blob(key); if (key_str == NULL) { return NULL; } @@ -420,7 +420,7 @@ ssh_string publickey_to_string(ssh_public_key pubkey) { key->dsa = pubkey->dsa_pub; key->rsa = pubkey->rsa_pub; - key_blob = ssh_pki_publickey_to_blob(key); + key_blob = ssh_pki_export_pubkey_blob(key); key->dsa = NULL; key->rsa = NULL; |