diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-06-01 20:35:49 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2021-06-01 20:35:49 +0000 |
commit | e36fd79f212a4fbcb69ef6fa6add4d06e52956b5 (patch) | |
tree | c42cb01748ca5b2622f14d4acbea54b7fdc84601 /src/stls | |
parent | a84b9b4e5d985a5d8a37268a76e1d35210fd31c5 (diff) | |
download | s6-networking-e36fd79f212a4fbcb69ef6fa6add4d06e52956b5.tar.xz |
Make stuff build
Still not working: we need to add servername to the storage
Diffstat (limited to 'src/stls')
-rw-r--r-- | src/stls/stls_server_init_and_handshake.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stls/stls_server_init_and_handshake.c b/src/stls/stls_server_init_and_handshake.c index 2cc9585..2a8c235 100644 --- a/src/stls/stls_server_init_and_handshake.c +++ b/src/stls/stls_server_init_and_handshake.c @@ -47,12 +47,12 @@ struct tls *stls_server_init_and_handshake (int const *fds, tain_t const *tto, u if (kequal != 8) { char certvar[len - kequal + 10] ; - memcpy(certvar, "CERTFILE:", 9 ; + memcpy(certvar, "CERTFILE:", 9) ; memcpy(certvar + 9, *envp + 8, kequal - 8) ; certvar[kequal + 1] = 0 ; x = getenv(certvar) ; if (!x) - strerr_dief3x("environment variable KEYFILE:", certvar + 9, " not paired with the corresponding CERTFILE") ; + strerr_dief3x(96, "environment variable KEYFILE:", certvar + 9, " not paired with the corresponding CERTFILE") ; else if (tls_config_add_keypair_file(cfg, x, *envp + kequal + 1) < 0) diecfg(cfg, "tls_config_add_keypair_file") ; } |