certs: add proper const attributes to global variables
commit9c0f7330e586f8f825c56de857524a9d5de9fd53
authorWilliam Smith <wsmith1@mail.ru>
Sun, 13 Jan 2013 03:41:54 +0000 (12 22:41 -0500)
committerWilliam Smith <wsmith1@mail.ru>
Mon, 14 Jan 2013 01:58:10 +0000 (13 20:58 -0500)
tree8707fed05d0cd3f26ec5758ecfb6c13cf5c1f819
parent8dc91fb453dfd3d06c1fc2f35fda3507af483074
certs: add proper const attributes to global variables

Add proper const attributes to global variables
containing test certificates used throughout the
library.

add proper const attributes to global certs constants

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/certs.h
library/certs.c
programs/ssl/ssl_client2.c
programs/ssl/ssl_server.c
programs/test/ssl_test.c