From 0c4f5c2493a4a9bbff28efd9661a967fe95e7495 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 16 Jan 2016 00:04:45 +0100 Subject: [PATCH] polarssl: init certificate storage Signed-off-by: Felix Fietkau --- ustream-polarssl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ustream-polarssl.c b/ustream-polarssl.c index 9208e6a..7135d3c 100644 --- a/ustream-polarssl.c +++ b/ustream-polarssl.c @@ -100,6 +100,8 @@ __ustream_ssl_context_new(bool server) ctx->server = server; pk_init(&ctx->key); + x509_crt_init(&ctx->ca_cert); + x509_crt_init(&ctx->cert); return ctx; } -- 2.25.1