Print an incoming pub key.
This commit is contained in:
parent
9e9b0ba047
commit
c8d69f23bc
@ -58,7 +58,11 @@ int main(int argc, char **argv) {
|
||||
if (result != 0)
|
||||
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:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user