svn rev #21983: trunk/src/lib/krb5/asn.1/
raeburn@MIT.EDU
raeburn at MIT.EDU
Thu Feb 12 14:43:08 EST 2009
http://src.mit.edu/fisheye/changelog/krb5/?cs=21983
Commit By: raeburn
Log Message:
Remove useless unsigned >=0 tests.
Changed Files:
U trunk/src/lib/krb5/asn.1/asn1_k_encode.c
Modified: trunk/src/lib/krb5/asn.1/asn1_k_encode.c
===================================================================
--- trunk/src/lib/krb5/asn.1/asn1_k_encode.c 2009-02-12 19:38:08 UTC (rev 21982)
+++ trunk/src/lib/krb5/asn.1/asn1_k_encode.c 2009-02-12 19:43:08 UTC (rev 21983)
@@ -427,7 +427,7 @@
const krb5_etype_info_entry *val = vptr;
unsigned int optional = 0;
- if (val->length >= 0 && val->length != KRB5_ETYPE_NO_SALT)
+ if (val->length != KRB5_ETYPE_NO_SALT)
optional |= (1u << 1);
return optional;
@@ -445,7 +445,7 @@
const krb5_etype_info_entry *val = vptr;
unsigned int optional = 0;
- if (val->length >= 0 && val->length != KRB5_ETYPE_NO_SALT)
+ if (val->length != KRB5_ETYPE_NO_SALT)
optional |= (1u << 1);
if (val->s2kparams.data)
optional |= (1u << 2);
More information about the cvs-krb5
mailing list