From: Ben Laurie Date: Fri, 6 Sep 2013 13:03:28 +0000 (+0100) Subject: Const fix. X-Git-Tag: master-pre-reformat~1143 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1769dfab06dcf93a1c310ca7ea9531afcc448d0a;p=openssl Const fix. --- diff --git a/apps/s_client.c b/apps/s_client.c index 6a4b2daf2d..9efea79aaf 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -227,7 +227,7 @@ static int c_brief=0; static unsigned char *generated_supp_data = NULL; -static unsigned char *most_recent_supplemental_data = NULL; +static const unsigned char *most_recent_supplemental_data = NULL; static size_t most_recent_supplemental_data_length = 0; static int server_provided_server_authz = 0; diff --git a/apps/s_server.c b/apps/s_server.c index 44acb1e79a..35f30e4d23 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -231,7 +231,7 @@ static const unsigned char auth_ext_data[]={TLSEXT_AUTHZDATAFORMAT_dtcp}; static unsigned char *generated_supp_data = NULL; -static unsigned char *most_recent_supplemental_data = NULL; +static const unsigned char *most_recent_supplemental_data = NULL; static size_t most_recent_supplemental_data_length = 0; static int client_provided_server_authz = 0;