diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2022-04-09 19:01:52 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2022-04-09 19:01:52 +0000 |
commit | c45631e0d8d2de6f44c618408a187645fe48e16e (patch) | |
tree | cff4ec7e469b140bf15f19bea0110d5eb1cf450e /src/tls/s6-tlsc-io.c | |
parent | b51c1b1911e97c552d99f8a00698bbae30229ce0 (diff) | |
download | s6-networking-c45631e0d8d2de6f44c618408a187645fe48e16e.tar.xz |
Prepare for 2.5.1.1; adapt to skalibs-2.12.0.0
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/tls/s6-tlsc-io.c')
-rw-r--r-- | src/tls/s6-tlsc-io.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/tls/s6-tlsc-io.c b/src/tls/s6-tlsc-io.c index 0070f8e..98e80e9 100644 --- a/src/tls/s6-tlsc-io.c +++ b/src/tls/s6-tlsc-io.c @@ -39,8 +39,6 @@ static inline void doit (int *fds, tain const *tto, uint32_t preoptions, uint32_ #include <bearssl.h> -#include <skalibs/random.h> - #include <s6-networking/sbearssl.h> static int handshake_cb (br_ssl_engine_context *ctx, sbearssl_handshake_cbarg *cbarg) @@ -56,7 +54,6 @@ static int handshake_cb (br_ssl_engine_context *ctx, sbearssl_handshake_cbarg *c static inline void doit (int *fds, tain const *tto, uint32_t preoptions, uint32_t options, unsigned int verbosity, char const *servername, unsigned int notif) { sbearssl_handshake_cbarg cbarg = SBEARSSL_HANDSHAKE_CBARG_ZERO ; - if (!random_init()) strerr_diefu1sys(111, "initialize random device") ; cbarg.notif = notif ; sbearssl_client_init_and_run(fds, tto, preoptions, options, verbosity, servername, &handshake_cb, &cbarg) ; } |