ssl_server: initialize all structures, so that we can call *_free() in case of error
commit3bbfdf1f6e71515fe315f5367ec1b2ccae16f29e
authorWilliam Smith <wsmith1@mail.ru>
Fri, 18 Jan 2013 02:42:41 +0000 (17 21:42 -0500)
committerWilliam Smith <wsmith1@mail.ru>
Fri, 18 Jan 2013 02:45:12 +0000 (17 21:45 -0500)
treee5f4d22b73af3a038aa773e21ddc528fbdefd2c9
parentea31e095f672c4ee4529025631b756e97b641f51
ssl_server: initialize all structures, so that we can call *_free() in case of error

In ssl_server, initialize at the beginning all the structures
that are used in the program. This ensures that calls to
functions like x509_free(), rsa_free() and ssl_free()
do not cause a segmentation fault or other undesired behaviour.
programs/ssl/ssl_server.c