diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2023-09-29 13:15:00 +0200 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2023-10-25 09:51:35 +0200 |
commit | fd3381002564c87b85feb2d1947a588e8ca6fdf9 (patch) | |
tree | b24d89230eb0eab26f18c0de4d714c09884b686e /src/tools | |
parent | 3662d75fa3a2cbe52fd9008754b1b6222342308d (diff) | |
download | ouroboros-fd3381002564c87b85feb2d1947a588e8ca6fdf9.tar.gz ouroboros-fd3381002564c87b85feb2d1947a588e8ca6fdf9.zip |
lib: Make crypt.c independent source file
The cryptography functions were in a C source that was directly
imported into dev.c, enabling ECDHE+AES256 symmetric key encryption on
flows. Now crypt.c is an independent source file with associated
crypt.h header, to prepare for security management and configuration
in the IRMd.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/oping/oping_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/oping/oping_client.c b/src/tools/oping/oping_client.c index a8e2dab7..6d3fecc8 100644 --- a/src/tools/oping/oping_client.c +++ b/src/tools/oping/oping_client.c @@ -232,7 +232,7 @@ static int client_main(void) fd = flow_alloc(client.s_apn, &client.qs, NULL); if (fd < 0) { - printf("Failed to allocate flow.\n"); + printf("Failed to allocate flow: %d.\n", fd); client_fini(); return -1; } |