summaryrefslogtreecommitdiff
path: root/src/sbearssl
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-02-20 11:40:19 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-02-20 11:40:19 +0000
commit42df0cd80d936fd8b6b8207df08ef321412d7633 (patch)
tree1fc28afdf0fb0937c580a57754d6b2d07344e475 /src/sbearssl
parent8887b16764603145d3bb9b4c3d56a3c0411b366e (diff)
downloads6-networking-42df0cd80d936fd8b6b8207df08ef321412d7633.tar.xz
Adapt to skalibs/posixishard.h
Diffstat (limited to 'src/sbearssl')
-rw-r--r--src/sbearssl/sbearssl_pem_decode_from_buffer.c5
-rw-r--r--src/sbearssl/sbearssl_pem_decode_from_string.c5
2 files changed, 8 insertions, 2 deletions
diff --git a/src/sbearssl/sbearssl_pem_decode_from_buffer.c b/src/sbearssl/sbearssl_pem_decode_from_buffer.c
index cacabd9..feed155 100644
--- a/src/sbearssl/sbearssl_pem_decode_from_buffer.c
+++ b/src/sbearssl/sbearssl_pem_decode_from_buffer.c
@@ -2,11 +2,14 @@
#include <sys/uio.h>
#include <errno.h>
+
#include <bearssl.h>
-#include <skalibs/error.h>
+
+#include <skalibs/posixishard.h>
#include <skalibs/buffer.h>
#include <skalibs/stralloc.h>
#include <skalibs/genalloc.h>
+
#include <s6-networking/sbearssl.h>
#include "sbearssl-internal.h"
diff --git a/src/sbearssl/sbearssl_pem_decode_from_string.c b/src/sbearssl/sbearssl_pem_decode_from_string.c
index b9f7f15..10819d8 100644
--- a/src/sbearssl/sbearssl_pem_decode_from_string.c
+++ b/src/sbearssl/sbearssl_pem_decode_from_string.c
@@ -1,10 +1,13 @@
/* ISC license. */
#include <errno.h>
+
#include <bearssl.h>
-#include <skalibs/error.h>
+
+#include <skalibs/posixishard.h>
#include <skalibs/stralloc.h>
#include <skalibs/genalloc.h>
+
#include <s6-networking/sbearssl.h>
#include "sbearssl-internal.h"