projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
974e888
)
Don't require val->salt to be non-zero if val->lenth is zero
author
Theodore Tso
<tytso@mit.edu>
Thu, 9 Nov 1995 05:02:13 +0000
(
05:02
+0000)
committer
Theodore Tso
<tytso@mit.edu>
Thu, 9 Nov 1995 05:02:13 +0000
(
05:02
+0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7070
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/asn.1/asn1_k_encode.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/asn.1/asn1_k_encode.c
b/src/lib/krb5/asn.1/asn1_k_encode.c
index 9702f5e3d838e1ce520534b57e60390c09560d4b..9ef6b814bd8c0d300a1cdea11b487300c9774b62 100644
(file)
--- a/
src/lib/krb5/asn.1/asn1_k_encode.c
+++ b/
src/lib/krb5/asn.1/asn1_k_encode.c
@@
-774,7
+774,7
@@
asn1_error_code asn1_encode_etype_info_entry(buf, val, retlen)
{
asn1_setup();
- if(val == NULL || (val->length >
=
0 && val->salt == NULL))
+ if(val == NULL || (val->length > 0 && val->salt == NULL))
return ASN1_MISSING_FIELD;
if (val->length >= 0)