From d65db21976dd24415d338ec292e3ee0552e550b4 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 5c10ae51a7..01f4f3485a 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 dbd4df9944..07857395af 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -230,7 +230,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.25.1