diff options
| author | Drew DeVault <sir@cmpwn.com> | 2020-09-24 19:58:34 -0400 |
|---|---|---|
| committer | Drew DeVault <sir@cmpwn.com> | 2020-09-24 19:58:41 -0400 |
| commit | fa69887e52201eb348f1bfbecf72bdab5c57bd9c (patch) | |
| tree | 2e49486c30e333483b45150348f2c51831450dd5 /src/main.c | |
| parent | 7af04ea4713770cd19cb9659a59f8758e4207c2c (diff) | |
| download | gmnisrv-fa69887e52201eb348f1bfbecf72bdab5c57bd9c.tar.gz gmnisrv-fa69887e52201eb348f1bfbecf72bdab5c57bd9c.tar.xz gmnisrv-fa69887e52201eb348f1bfbecf72bdab5c57bd9c.zip | |
Implement TLS exchange with clients
This probably leaves a bit to be desired tbh
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,6 +1,7 @@ #include <getopt.h> #include <stdio.h> #include "config.h" +#include "log.h" #include "server.h" #include "tls.h" @@ -38,11 +39,13 @@ main(int argc, char **argv) int r = load_config(&conf, confpath); if (r != 0) { + server_error("Config load failed"); goto exit_conf; } r = gmnisrv_tls_init(&conf); if (r != 0) { + server_error("TLS initialization failed"); goto exit_conf; } |
