mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-10 10:26:47 +09:00
pki: Reformat ssh_pki_copy_cert_to_privkey()
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
committed by
Andreas Schneider
parent
f6709b03e6
commit
937552aed2
@@ -2311,7 +2311,8 @@ int ssh_pki_export_pubkey_file(const ssh_key key,
|
|||||||
*
|
*
|
||||||
* @returns SSH_OK on success, SSH_ERROR otherwise.
|
* @returns SSH_OK on success, SSH_ERROR otherwise.
|
||||||
**/
|
**/
|
||||||
int ssh_pki_copy_cert_to_privkey(const ssh_key certkey, ssh_key privkey) {
|
int ssh_pki_copy_cert_to_privkey(const ssh_key certkey, ssh_key privkey)
|
||||||
|
{
|
||||||
ssh_buffer cert_buffer;
|
ssh_buffer cert_buffer;
|
||||||
int rc, cmp;
|
int rc, cmp;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user