summaryrefslogtreecommitdiffstats
path: root/src/plugins/quic/certs.h
diff options
context:
space:
mode:
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>2019-07-30 16:14:34 +0200
committerFlorin Coras <florin.coras@gmail.com>2019-07-30 16:29:24 +0000
commit874a31ea0be9f6d3fe6e8fb0fa17e8b02ce8d37a (patch)
tree02834e16563dd689b6ec60c4025ccc3eefcb197c /src/plugins/quic/certs.h
parent1c2af06852fb6d7788f0f4926d062c11e5869ead (diff)
quic: fix cert loading
Type: fix Change-Id: I29d24c8ec7b8e0613d4fbf5eedc72384326dc284 Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Diffstat (limited to 'src/plugins/quic/certs.h')
-rw-r--r--src/plugins/quic/certs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/quic/certs.h b/src/plugins/quic/certs.h
index e60f96d55d2..c26e060a1f4 100644
--- a/src/plugins/quic/certs.h
+++ b/src/plugins/quic/certs.h
@@ -32,9 +32,9 @@ int ptls_load_bio_pem_objects (BIO * bio, const char *label,
int ptls_load_bio_certificates (ptls_context_t * ctx, BIO * bio);
-void load_bio_certificate_chain (ptls_context_t * ctx, const char *cert_data);
+int load_bio_certificate_chain (ptls_context_t * ctx, const char *cert_data);
-void load_bio_private_key (ptls_context_t * ctx, const char *pk_data);
+int load_bio_private_key (ptls_context_t * ctx, const char *pk_data);
#endif /* __included_quic_certs_h__ */