Const fix.
authorBen Laurie <ben@links.org>
Fri, 6 Sep 2013 13:03:28 +0000 (14:03 +0100)
committerBen Laurie <ben@links.org>
Fri, 6 Sep 2013 13:03:28 +0000 (14:03 +0100)
apps/s_client.c
apps/s_server.c

index 6a4b2da..9efea79 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 44acb1e..35f30e4 100644 (file)
@@ -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;