diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-06-01 11:27:05 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2021-06-01 11:27:05 +0000 |
commit | a84b9b4e5d985a5d8a37268a76e1d35210fd31c5 (patch) | |
tree | 64cf1b6e3f21e1ac96ea119358fda95091ee6e93 /src/sbearssl/sbearssl_cert_readbigpem.c | |
parent | e763c3ef1485404585b923365f93314aab4e8dd6 (diff) | |
download | s6-networking-a84b9b4e5d985a5d8a37268a76e1d35210fd31c5.tar.xz |
Add all the missing pieces for sni_policy
sbearssl_server_init_and_run is yet unchanged, the next step
is to rewrite it using the new primitives.
Diffstat (limited to 'src/sbearssl/sbearssl_cert_readbigpem.c')
-rw-r--r-- | src/sbearssl/sbearssl_cert_readbigpem.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sbearssl/sbearssl_cert_readbigpem.c b/src/sbearssl/sbearssl_cert_readbigpem.c index 64ce139..9e6339a 100644 --- a/src/sbearssl/sbearssl_cert_readbigpem.c +++ b/src/sbearssl/sbearssl_cert_readbigpem.c @@ -1,12 +1,14 @@ /* ISC license. */ #include <string.h> -#include <errno.h> + #include <bearssl.h> + #include <skalibs/buffer.h> #include <skalibs/stralloc.h> #include <skalibs/genalloc.h> #include <skalibs/djbunix.h> + #include <s6-networking/sbearssl.h> int sbearssl_cert_readbigpem (char const *fn, genalloc *certs, stralloc *sa) |