ssl/tls: add proper const attributes to functions, context members
commit8dc91fb453dfd3d06c1fc2f35fda3507af483074
authorWilliam Smith <wsmith1@mail.ru>
Mon, 14 Jan 2013 01:20:54 +0000 (13 20:20 -0500)
committerWilliam Smith <wsmith1@mail.ru>
Mon, 14 Jan 2013 01:58:10 +0000 (13 20:58 -0500)
tree4294bab4e5fcd993996aede08ede17d5f4e94599
parent64b07b474b8116b92a8b76eee74f39f4208fd100
ssl/tls: add proper const attributes to functions, context members

Add proper const attribute to function arguments and
SSL context structure members.

const attribute is added to function arguments and
variables in order to allow compiler checks with
-Wbad-function-cast, -Wcast-qual and
-Wwrite-strings warnings options.
include/tropicssl/ssl.h
library/ssl_tls.c
programs/ssl/ssl_client1.c
programs/ssl/ssl_client2.c
programs/ssl/ssl_server.c
programs/test/ssl_test.c