diff options
author | Greg Hudson <ghudson@mit.edu> | 2009-10-31 03:52:01 +0000 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2009-10-31 03:52:01 +0000 |
commit | 5802e4ff348ee881f7957bb775b373db38dbebff (patch) | |
tree | d1928a8e1b3d811742508c2f416039f6a9fc98c7 /src/lib/krb5/asn.1/asn1_decode.c | |
parent | 4a47f566daa9e1e6a1946a027edc2d9d44b9bb7d (diff) | |
download | krb5-5802e4ff348ee881f7957bb775b373db38dbebff.zip krb5-5802e4ff348ee881f7957bb775b373db38dbebff.tar.gz krb5-5802e4ff348ee881f7957bb775b373db38dbebff.tar.bz2 |
In lib/krb5/asn.1, ensure that function definition headers have
function names at the beginnings of lines.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23106 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/asn.1/asn1_decode.c')
-rw-r--r-- | src/lib/krb5/asn.1/asn1_decode.c | 36 |
1 files changed, 24 insertions, 12 deletions
diff --git a/src/lib/krb5/asn.1/asn1_decode.c b/src/lib/krb5/asn.1/asn1_decode.c index 032e827..027f387 100644 --- a/src/lib/krb5/asn.1/asn1_decode.c +++ b/src/lib/krb5/asn.1/asn1_decode.c @@ -57,7 +57,8 @@ if (asn1class != UNIVERSAL || construction != PRIMITIVE || tagnum != type)\ #define cleanup()\ return 0 -asn1_error_code asn1_decode_integer(asn1buf *buf, long int *val) +asn1_error_code +asn1_decode_integer(asn1buf *buf, long int *val) { setup(); asn1_octet o; @@ -82,7 +83,8 @@ asn1_error_code asn1_decode_integer(asn1buf *buf, long int *val) cleanup(); } -asn1_error_code asn1_decode_unsigned_integer(asn1buf *buf, long unsigned int *val) +asn1_error_code +asn1_decode_unsigned_integer(asn1buf *buf, long unsigned int *val) { setup(); asn1_octet o; @@ -116,7 +118,8 @@ asn1_error_code asn1_decode_unsigned_integer(asn1buf *buf, long unsigned int *va * normal integer conversions do, i.e., would preserve bits on a * two's-complement architecture. */ -asn1_error_code asn1_decode_maybe_unsigned(asn1buf *buf, unsigned long *val) +asn1_error_code +asn1_decode_maybe_unsigned(asn1buf *buf, unsigned long *val) { setup(); asn1_octet o; @@ -150,7 +153,8 @@ asn1_error_code asn1_decode_maybe_unsigned(asn1buf *buf, unsigned long *val) cleanup(); } -asn1_error_code asn1_decode_oid(asn1buf *buf, unsigned int *retlen, asn1_octet **val) +asn1_error_code +asn1_decode_oid(asn1buf *buf, unsigned int *retlen, asn1_octet **val) { setup(); tag(ASN1_OBJECTIDENTIFIER); @@ -160,7 +164,8 @@ asn1_error_code asn1_decode_oid(asn1buf *buf, unsigned int *retlen, asn1_octet * cleanup(); } -asn1_error_code asn1_decode_octetstring(asn1buf *buf, unsigned int *retlen, asn1_octet **val) +asn1_error_code +asn1_decode_octetstring(asn1buf *buf, unsigned int *retlen, asn1_octet **val) { setup(); tag(ASN1_OCTETSTRING); @@ -170,7 +175,8 @@ asn1_error_code asn1_decode_octetstring(asn1buf *buf, unsigned int *retlen, asn1 cleanup(); } -asn1_error_code asn1_decode_charstring(asn1buf *buf, unsigned int *retlen, char **val) +asn1_error_code +asn1_decode_charstring(asn1buf *buf, unsigned int *retlen, char **val) { setup(); tag(ASN1_OCTETSTRING); @@ -181,7 +187,8 @@ asn1_error_code asn1_decode_charstring(asn1buf *buf, unsigned int *retlen, char } -asn1_error_code asn1_decode_generalstring(asn1buf *buf, unsigned int *retlen, char **val) +asn1_error_code +asn1_decode_generalstring(asn1buf *buf, unsigned int *retlen, char **val) { setup(); tag(ASN1_GENERALSTRING); @@ -192,7 +199,8 @@ asn1_error_code asn1_decode_generalstring(asn1buf *buf, unsigned int *retlen, ch } -asn1_error_code asn1_decode_null(asn1buf *buf) +asn1_error_code +asn1_decode_null(asn1buf *buf) { setup(); tag(ASN1_NULL); @@ -200,7 +208,8 @@ asn1_error_code asn1_decode_null(asn1buf *buf) cleanup(); } -asn1_error_code asn1_decode_printablestring(asn1buf *buf, int *retlen, char **val) +asn1_error_code +asn1_decode_printablestring(asn1buf *buf, int *retlen, char **val) { setup(); tag(ASN1_PRINTABLESTRING); @@ -210,7 +219,8 @@ asn1_error_code asn1_decode_printablestring(asn1buf *buf, int *retlen, char **va cleanup(); } -asn1_error_code asn1_decode_ia5string(asn1buf *buf, int *retlen, char **val) +asn1_error_code +asn1_decode_ia5string(asn1buf *buf, int *retlen, char **val) { setup(); tag(ASN1_IA5STRING); @@ -220,7 +230,8 @@ asn1_error_code asn1_decode_ia5string(asn1buf *buf, int *retlen, char **val) cleanup(); } -asn1_error_code asn1_decode_generaltime(asn1buf *buf, time_t *val) +asn1_error_code +asn1_decode_generaltime(asn1buf *buf, time_t *val) { setup(); char *s; @@ -261,7 +272,8 @@ done: cleanup(); } -asn1_error_code asn1_decode_boolean(asn1buf *buf, unsigned *val) +asn1_error_code +asn1_decode_boolean(asn1buf *buf, unsigned *val) { setup(); asn1_octet bval; |