diff options
author | Julien Chaffraix <julien.chaffraix@gmail.com> | 2010-11-13 14:42:34 -0800 |
---|---|---|
committer | Julien Chaffraix <julien.chaffraix@gmail.com> | 2010-11-13 14:42:34 -0800 |
commit | add5766dd4d8a15f3f96254fc65e9ab5c9ff3d48 (patch) | |
tree | 709ead50eae0b159b4bb9129eabe52027be5b8a8 /lib/krb5.c | |
parent | 8d59d69449c2a86c478699a50d920541aa106201 (diff) | |
download | curl-add5766dd4d8a15f3f96254fc65e9ab5c9ff3d48.tar.gz |
urldata: Capitalize enum protect_level values.
This makes it easier to spot the enum values from the variables.
Removed some unneeded DEBUGASSERT added in the previous commit.
Diffstat (limited to 'lib/krb5.c')
-rw-r--r-- | lib/krb5.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/krb5.c b/lib/krb5.c index d94ca27bc..cedab1657 100644 --- a/lib/krb5.c +++ b/lib/krb5.c @@ -88,7 +88,7 @@ static int krb5_check_prot(void *app_data, int level) { (void)app_data; /* unused */ - if(level == prot_confidential) + if(level == PROT_CONFIDENTIAL) return -1; return 0; } @@ -150,7 +150,7 @@ krb5_encode(void *app_data, const void *from, int length, int level, void **to, dec.value = (void*)from; dec.length = length; maj = gss_seal(&min, *context, - level == prot_private, + level == PROT_PRIVATE, GSS_C_QOP_DEFAULT, &dec, &state, &enc); |