From 48260aff2d5cec809c42d6ada43f906afc1d453d Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Fri, 5 Sep 2008 20:46:44 +0000 Subject: [PATCH] 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 --- src/lib/krb5/asn.1/asn1_k_encode.c | 10 ++++++---- 1 file 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 de5c60180..0ad6fd3cf 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(); -- 2.26.2