From: Felix Fietkau Date: Fri, 15 Jan 2016 23:04:45 +0000 (+0100) Subject: polarssl: init certificate storage X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0c4f5c2493a4a9bbff28efd9661a967fe95e7495;p=oweals%2Fopenwrt-ustream-ssl.git polarssl: init certificate storage Signed-off-by: Felix Fietkau --- 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; }