]> granicus.if.org Git - curl/commitdiff
security.h: rename to curl_sec.h to avoid name collision
authorDaniel Stenberg <daniel@haxx.se>
Mon, 26 Aug 2013 09:51:18 +0000 (11:51 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 26 Aug 2013 09:51:18 +0000 (11:51 +0200)
I brought back security.h in commit bb5529331334e. As we actually
already found out back in 2005 in commit 62970da675249, the file name
security.h causes problems so I renamed it curl_sec.h instead.

lib/Makefile.inc
lib/curl_sec.h [moved from lib/security.h with 100% similarity]
lib/ftp.c
lib/krb5.c
lib/security.c

index e28efc1abdff4ac34b02062b36f948a4f770ac01..cb1030858270fb7bdb9d0d8a7326e4d54ec3757c 100644 (file)
@@ -31,7 +31,7 @@ CSOURCES = file.c timeval.c base64.c hostip.c progress.c formdata.c   \
 HHEADERS = arpa_telnet.h netrc.h file.h timeval.h qssl.h hostip.h      \
   progress.h formdata.h cookie.h http.h sendf.h ftp.h url.h dict.h     \
   if2ip.h speedcheck.h urldata.h curl_ldap.h ssluse.h escape.h telnet.h        \
-  getinfo.h strequal.h security.h memdebug.h http_chunks.h              \
+  getinfo.h strequal.h curl_sec.h memdebug.h http_chunks.h              \
   curl_fnmatch.h wildcard.h fileinfo.h ftplistparser.h strtok.h                \
   connect.h llist.h hash.h content_encoding.h share.h curl_md4.h       \
   curl_md5.h http_digest.h http_negotiate.h inet_pton.h amigaos.h      \
similarity index 100%
rename from lib/security.h
rename to lib/curl_sec.h
index 7c7613dce4847b954b3d833c68be6c5cf883fcf7..51ea99948aca3c064a6aae245f754845fb5a56e5 100644 (file)
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -59,7 +59,7 @@
 #include "ftp.h"
 #include "fileinfo.h"
 #include "ftplistparser.h"
-#include "security.h"
+#include "curl_sec.h"
 #include "strtoofft.h"
 #include "strequal.h"
 #include "sslgen.h"
index cb77e12ce639f4994d27b5550d78a22a8bb5515e..1643f11a6acaff4267f7cd35948fa544e2ae85c4 100644 (file)
@@ -1,6 +1,6 @@
 /* GSSAPI/krb5 support for FTP - loosely based on old krb4.c
  *
- * Copyright (c) 1995, 1996, 1997, 1998, 1999 Kungliga Tekniska Högskolan
+ * Copyright (c) 1995, 1996, 1997, 1998, 1999, 2013 Kungliga Tekniska Högskolan
  * (Royal Institute of Technology, Stockholm, Sweden).
  * Copyright (c) 2004 - 2012 Daniel Stenberg
  * All rights reserved.
@@ -51,7 +51,7 @@
 #include "ftp.h"
 #include "curl_gssapi.h"
 #include "sendf.h"
-#include "security.h"
+#include "curl_sec.h"
 #include "curl_memory.h"
 #include "warnless.h"
 
index 7d6eadc3e73cd986c0e8527b18dc972fe26e63cd..508c7b41ec3585af878680cfefb84e7946b3da71 100644 (file)
@@ -57,7 +57,7 @@
 #include "urldata.h"
 #include "curl_base64.h"
 #include "curl_memory.h"
-#include "security.h"
+#include "curl_sec.h"
 #include "ftp.h"
 #include "sendf.h"
 #include "rawstr.h"