summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBen Laurie <ben@links.org>2013-09-06 14:03:28 +0100
committerScott Deboy <sdeboy@secondstryke.com>2014-02-09 08:07:16 -0800
commitd65db21976dd24415d338ec292e3ee0552e550b4 (patch)
tree60676e2991ebb821c50ec2b268fa26530a133f8b /apps
parent8acf1ff4b421fada9e09fa51f479bdff204d0dea (diff)
Const fix.
Diffstat (limited to 'apps')
-rw-r--r--apps/s_client.c2
-rw-r--r--apps/s_server.c2
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;