Use braces to repair broken emacs indentation, caused by omission of a
authorKen Raeburn <raeburn@mit.edu>
Fri, 5 Sep 2008 20:46:44 +0000 (20:46 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 5 Sep 2008 20:46:44 +0000 (20:46 +0000)
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

index de5c60180e363ce599e4830528a78e16a4a30cbe..0ad6fd3cf283bf579031fa6574b4dec871e96d0b 100644 (file)
@@ -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();