diff options
author | Luke Howard <lukeh@padl.com> | 2009-08-09 09:50:03 +0000 |
---|---|---|
committer | Luke Howard <lukeh@padl.com> | 2009-08-09 09:50:03 +0000 |
commit | e9100e5c07498fe1cb6874d917f5f0006472f5d4 (patch) | |
tree | c75c5152ebeea319711692b516878b5ddf83f2fa | |
parent | 7113aea0fd0195954775ff2c1da41901fc8ca1e0 (diff) | |
download | krb5-e9100e5c07498fe1cb6874d917f5f0006472f5d4.zip krb5-e9100e5c07498fe1cb6874d917f5f0006472f5d4.tar.gz krb5-e9100e5c07498fe1cb6874d917f5f0006472f5d4.tar.bz2 |
Ensure enc_padata is actually encoded
git-svn-id: svn://anonsvn.mit.edu/krb5/users/lhoward/s4u@22509 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/lib/krb5/asn.1/asn1_k_encode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/krb5/asn.1/asn1_k_encode.c b/src/lib/krb5/asn.1/asn1_k_encode.c index 9298f88..cd63ffb 100644 --- a/src/lib/krb5/asn.1/asn1_k_encode.c +++ b/src/lib/krb5/asn.1/asn1_k_encode.c @@ -263,6 +263,8 @@ static unsigned int optional_enc_kdc_rep_part(const void *p) optional |= (1u << 8); if (val->caddrs != NULL && val->caddrs[0] != NULL) optional |= (1u << 11); + if (val->enc_padata != NULL) + optional |= (1u << 12); return optional; } |