diff options
author | Tom Yu <tlyu@mit.edu> | 2011-10-17 19:11:01 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 2011-10-17 19:11:01 +0000 |
commit | 449598819d0e51355473c90682dd397dc305e5d0 (patch) | |
tree | 47340eac824e3883bdca7df4af62979657521eca /src/lib/gssapi | |
parent | f29332a9c8836e515a6f5fcf556bb01f96f6c0a3 (diff) | |
download | krb5-449598819d0e51355473c90682dd397dc305e5d0.tar.gz krb5-449598819d0e51355473c90682dd397dc305e5d0.tar.xz krb5-449598819d0e51355473c90682dd397dc305e5d0.zip |
Make reindent
Also fix pkinit_crypto_nss.c struct initializers and add parens to a
ternary operator in do_as_req.c for better indentation.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25362 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/gssapi')
-rw-r--r-- | src/lib/gssapi/generic/oid_ops.c | 2 | ||||
-rw-r--r-- | src/lib/gssapi/generic/util_buffer_set.c | 4 | ||||
-rw-r--r-- | src/lib/gssapi/krb5/iakerb.c | 2 | ||||
-rw-r--r-- | src/lib/gssapi/krb5/prf.c | 2 | ||||
-rw-r--r-- | src/lib/gssapi/krb5/store_cred.c | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/gssapi/generic/oid_ops.c b/src/lib/gssapi/generic/oid_ops.c index f507ccdc1..535fe57d8 100644 --- a/src/lib/gssapi/generic/oid_ops.c +++ b/src/lib/gssapi/generic/oid_ops.c @@ -156,7 +156,7 @@ generic_gss_add_oid_set_member(OM_uint32 *minor_status, elist = (*oid_set)->elements; /* Get an enlarged copy of the array */ if (((*oid_set)->elements = (gss_OID) gssalloc_malloc(((*oid_set)->count+1) * - sizeof(gss_OID_desc)))) { + sizeof(gss_OID_desc)))) { /* Copy in the old junk */ if (elist) memcpy((*oid_set)->elements, diff --git a/src/lib/gssapi/generic/util_buffer_set.c b/src/lib/gssapi/generic/util_buffer_set.c index 5cc3e15dc..f7472a080 100644 --- a/src/lib/gssapi/generic/util_buffer_set.c +++ b/src/lib/gssapi/generic/util_buffer_set.c @@ -72,8 +72,8 @@ generic_gss_add_buffer_set_member(OM_uint32 * minor_status, set = *buffer_set; set->elements = (gss_buffer_desc *)gssalloc_realloc(set->elements, - (set->count + 1) * - sizeof(gss_buffer_desc)); + (set->count + 1) * + sizeof(gss_buffer_desc)); if (set->elements == NULL) { *minor_status = ENOMEM; return GSS_S_FAILURE; diff --git a/src/lib/gssapi/krb5/iakerb.c b/src/lib/gssapi/krb5/iakerb.c index 84a96ac1b..005c3fca3 100644 --- a/src/lib/gssapi/krb5/iakerb.c +++ b/src/lib/gssapi/krb5/iakerb.c @@ -1,4 +1,4 @@ -/* -*- mode: c; indent-tabs-mode: nil -*- */ +/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2009 by the Massachusetts Institute of Technology. * All Rights Reserved. diff --git a/src/lib/gssapi/krb5/prf.c b/src/lib/gssapi/krb5/prf.c index 6fd34e954..a0fbcdab0 100644 --- a/src/lib/gssapi/krb5/prf.c +++ b/src/lib/gssapi/krb5/prf.c @@ -1,4 +1,4 @@ -/* -*- mode: c; indent-tabs-mode: nil -*- */ +/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* lib/gssapi/krb5/prf.c */ /* * Copyright 2009 by the Massachusetts Institute of Technology. diff --git a/src/lib/gssapi/krb5/store_cred.c b/src/lib/gssapi/krb5/store_cred.c index 5b4dfe8f7..bff3cdefe 100644 --- a/src/lib/gssapi/krb5/store_cred.c +++ b/src/lib/gssapi/krb5/store_cred.c @@ -1,4 +1,4 @@ -/* -*- mode: c; indent-tabs-mode: nil -*- */ +/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* lib/gssapi/krb5/store_cred.c */ /* * Copyright 2009 by the Massachusetts Institute of Technology. |