diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2011-09-05 11:02:23 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-09-05 11:28:19 +0200 |
commit | 808c7a9be4f110605e76ea5678bf0b1986cc9b38 (patch) | |
tree | 75823375575323a4b59aa6f9b381a0e3e0e2c183 /src/pki.c | |
parent | 6901e25085f8924f9d83e12107c05f935bd24287 (diff) | |
download | libssh-808c7a9be4f110605e76ea5678bf0b1986cc9b38.tar.gz libssh-808c7a9be4f110605e76ea5678bf0b1986cc9b38.tar.xz libssh-808c7a9be4f110605e76ea5678bf0b1986cc9b38.zip |
pki: Add ssh_pki_export_pubkey_rsa1().
Diffstat (limited to 'src/pki.c')
-rw-r--r-- | src/pki.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -958,6 +958,14 @@ int ssh_pki_export_pubkey_file(const ssh_key key, return SSH_OK; } +int ssh_pki_export_pubkey_rsa1(const ssh_key key, + const char *host, + char *rsa1, + size_t rsa1_len) +{ + return pki_export_pubkey_rsa1(key, host, rsa1, rsa1_len); +} + int ssh_pki_export_signature_blob(const ssh_signature sig, ssh_string *sig_blob) { |