From 1769dfab06dcf93a1c310ca7ea9531afcc448d0a Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Fri, 6 Sep 2013 14:03:28 +0100 Subject: [PATCH] Const fix. --- apps/s_client.c | 2 +- apps/s_server.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.34.1