Const fix.
authorBen Laurie <ben@links.org>
Fri, 6 Sep 2013 13:03:28 +0000 (14:03 +0100)
committerScott Deboy <sdeboy@secondstryke.com>
Sun, 9 Feb 2014 16:07:16 +0000 (08:07 -0800)
apps/s_client.c
apps/s_server.c

index 5c10ae51a765304c851de521e34f9887bbb08447..01f4f3485a51da573649f4837c81a48aa4d9e6b4 100644 (file)
@@ -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;
index dbd4df994444caf1ec5eaca2d92ecde7b5258ec2..07857395af4cc05653678d45f12da972360a897c 100644 (file)
@@ -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;