summaryrefslogtreecommitdiff
path: root/lib/security.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-10-18 10:00:37 +0200
committerDaniel Stenberg <daniel@haxx.se>2010-10-18 10:00:37 +0200
commit0152dbbe237928b9ebab9c47b4bcb17a4ae98190 (patch)
tree4a2f81f0fc3beac4145500f005d37789eda66239 /lib/security.c
parent2261ddf9db476ff628304aa8a0180345cacd8512 (diff)
downloadcurl-0152dbbe237928b9ebab9c47b4bcb17a4ae98190.tar.gz
krb4: make a few functions static
Diffstat (limited to 'lib/security.c')
-rw-r--r--lib/security.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/lib/security.c b/lib/security.c
index 73a554016..244ab6fee 100644
--- a/lib/security.c
+++ b/lib/security.c
@@ -399,16 +399,8 @@ int Curl_sec_read_msg(struct connectdata *conn, char *buffer, int level)
return ret_code;
}
-enum protection_level
-Curl_set_command_prot(struct connectdata *conn, enum protection_level level)
-{
- enum protection_level old = conn->command_prot;
- conn->command_prot = level;
- return old;
-}
-
/* FIXME: The error code returned here is never checked. */
-int Curl_sec_set_protection_level(struct connectdata *conn)
+static int sec_set_protection_level(struct connectdata *conn)
{
int code;
char* pbsz;
@@ -551,7 +543,7 @@ static CURLcode choose_mech(struct connectdata *conn)
conn->command_prot = prot_safe;
/* Set the requested protection level */
/* BLOCKING */
- Curl_sec_set_protection_level(conn);
+ (void)sec_set_protection_level(conn);
break;
}