summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2008-09-05 20:46:44 +0000
committerKen Raeburn <raeburn@mit.edu>2008-09-05 20:46:44 +0000
commit48260aff2d5cec809c42d6ada43f906afc1d453d (patch)
treea437721afa1c33f9d7ad4b001fa361d7fba842f1 /src/lib
parent83b7075228f44782ffef65810e9b7dfb92218e6f (diff)
downloadkrb5-48260aff2d5cec809c42d6ada43f906afc1d453d.tar.gz
krb5-48260aff2d5cec809c42d6ada43f906afc1d453d.tar.xz
krb5-48260aff2d5cec809c42d6ada43f906afc1d453d.zip
Use braces to repair broken emacs indentation, caused by omission of a
semicolon, caused by use of macros that expand to compound statements. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20708 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/krb5/asn.1/asn1_k_encode.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/lib/krb5/asn.1/asn1_k_encode.c b/src/lib/krb5/asn.1/asn1_k_encode.c
index de5c60180e..0ad6fd3cf2 100644
--- a/src/lib/krb5/asn.1/asn1_k_encode.c
+++ b/src/lib/krb5/asn.1/asn1_k_encode.c
@@ -766,11 +766,13 @@ asn1_error_code asn1_encode_etype_info_entry(asn1buf *buf, const krb5_etype_info
asn1_addlenfield(val->s2kparams.length, val->s2kparams.data, 2,
asn1_encode_octetstring);
if (val->length >= 0 && val->length != KRB5_ETYPE_NO_SALT) {
- if (etype_info2)
+ if (etype_info2) {
asn1_addlenfield(val->length,val->salt,1,
- asn1_encode_generalstring)
- else asn1_addlenfield(val->length,val->salt,1,
- asn1_encode_octetstring);
+ asn1_encode_generalstring);
+ } else {
+ asn1_addlenfield(val->length,val->salt,1,
+ asn1_encode_octetstring);
+ }
}
asn1_addfield(val->etype,0,asn1_encode_integer);
asn1_makeseq();