1
0

Print an incoming pub key.

This commit is contained in:
Alexander Andreev 2024-03-26 18:14:38 +04:00
parent 9e9b0ba047
commit c8d69f23bc
Signed by: Arav
GPG Key ID: 25969B23DCB5CA34

View File

@ -58,7 +58,11 @@ int main(int argc, char **argv) {
if (result != 0) if (result != 0)
goto cleanup; goto cleanup;
fprintf(stderr, "A connection established!\n"); char rkph[CRYPT_PKEY_HEXLEN];
crypt_key_export_public(&rk, rkph);
fprintf(stderr, "A connection with %s established!\n", rkph);
cleanup: cleanup: