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:
Jakub Jelen
2025-04-24 15:15:59 +02:00
committed by Andreas Schneider
parent f6709b03e6
commit 937552aed2

View File

@@ -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;