summaryrefslogtreecommitdiff
path: root/lib/curl_gssapi.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-08-02 00:24:38 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-08-02 00:24:38 +0200
commit3b4ee0d432d4e8e929dcbd564b10e14653896f20 (patch)
treed4f22e1321433bf9631415f6d64968ddbabd0f11 /lib/curl_gssapi.c
parentc092b0f0f394df78a74990a7a89fc6e90a79ea99 (diff)
downloadcurl-3b4ee0d432d4e8e929dcbd564b10e14653896f20.tar.gz
curl_gssapi: remove 'const' to fix compiler warnings
initialization discards 'const' qualifier from pointer target type
Diffstat (limited to 'lib/curl_gssapi.c')
-rw-r--r--lib/curl_gssapi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/curl_gssapi.c b/lib/curl_gssapi.c
index 2cd14fff0..9baece5ad 100644
--- a/lib/curl_gssapi.c
+++ b/lib/curl_gssapi.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 2011 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 2011 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -27,9 +27,9 @@
#include "curl_gssapi.h"
#include "sendf.h"
-static const char spnego_oid_bytes[] = "\x2b\x06\x01\x05\x05\x02";
+static char spnego_oid_bytes[] = "\x2b\x06\x01\x05\x05\x02";
gss_OID_desc Curl_spnego_mech_oid = { 6, &spnego_oid_bytes };
-static const char krb5_oid_bytes[] = "\x2a\x86\x48\x86\xf7\x12\x01\x02\x02";
+static char krb5_oid_bytes[] = "\x2a\x86\x48\x86\xf7\x12\x01\x02\x02";
gss_OID_desc Curl_krb5_mech_oid = { 9, &krb5_oid_bytes };
OM_uint32 Curl_gss_init_sec_context(