Subject: [PATCH] Fix error handling when calling "REQUIRES PRIVATE KEY"
author=?UTF-8?q?Christoph=20M=C3=BCllner?= <christophm30@gmail.com>
Sat, 24 Jan 2015 14:55:17 +0000 (15:55 +0100)
committerAndy Green <andy.green@linaro.org>
Mon, 26 Jan 2015 03:18:30 +0000 (11:18 +0800)
commit87840d18e62f904b23cb0f33261b18d1e3b9d454
treebd57e92f4961cac5e7601ee3fd3ec745ab02bd9a
parent976d9ebbe87d5475be828f9e38691bbed27390a8
Subject: [PATCH] Fix error handling when calling "REQUIRES PRIVATE KEY"
 callback.

A recent patch in ssl.c introduced a callback for setting the
private key of the SSL context. This code contained a bug, which
resulted in lws_context_init_server_ssl() returning always
with a return value of 1, indicating an error.

This patch introduces the missing curly braces to fix the code's
intended behaviour.
lib/ssl.c