aboutsummaryrefslogtreecommitdiff
path: root/src/lib/krb5/asn.1/asn1_get.c
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>2000-10-17 22:59:50 +0000
committerEzra Peisach <epeisach@mit.edu>2000-10-17 22:59:50 +0000
commit37d6df8704b4210e690ffeb3afc95fd240cceaa2 (patch)
treeac98d47a9b86e40955ecc4fa6f7db1e0d7a95221 /src/lib/krb5/asn.1/asn1_get.c
parent4289b42c30a2c905ee3a3614b55861c22a3bbe74 (diff)
downloadkrb5-37d6df8704b4210e690ffeb3afc95fd240cceaa2.zip
krb5-37d6df8704b4210e690ffeb3afc95fd240cceaa2.tar.gz
krb5-37d6df8704b4210e690ffeb3afc95fd240cceaa2.tar.bz2
* asn1buf.h: Lengths are now unsigned int for
asn1buf_ensure_space(), asn1buf_expand(), asn1buf_imbed(), asn1buf_sync(), asn1buf_insert_octetstring(), asn1buf_insert_charstring(), asn1_remove_octetstring(), asn1buf_remove_charstring(), * krb5_decode.c, krb5_encode.c: Length fields are unsigned ints. * asn1_make.c, asn1_make.h: Prototypes changed to use an unsigned int * in_len and retlen for: asn1_make_etag(), asn1_make_tag(), asn1_make_sequence(), asn1_make_set(), asn1_make_string(), asn1_make_length(), asn1_make_id(). * asn1_k_encode.h, asn1_k_encode.c: Change length fields to unsigned ints for all functions. (asn1_encode_etype_info_entry): Test for KRB5_ETYPE_NO_SALT instead of -1. * asn1_k_decode.c (asn1_decode_etype_info_entry): Use a length of KRB5_ETYPE_NO_SALT to indicate the optional salt not being present. (instead of -1). (setup): Length is now unsigned int. * asn1_get.c, asn1_get.h: Change retlent to unsigned int * for asn1_get_tag(), asn1_get_tag_indef(), asn1_get_sequence, asn1_get_length(). * asn1_encode.c, asn1_encode.h: Change retlen to unsigned int * for asn1_encode_integer(), asn1_encode_unsigned_integer(), asn1_encode_octetstring(), asn1_encode_charstring(), asn1_encode_printable_string(), asn1_encode_ia5string(), asn1_encode_generaltime(), asn1_encode_generalstring() * asn1_decode.c, asn1_decode.h: Change retlen to unsigned int * for asn1_decode_octetstring(), asn1_decode_generalstring(), asn1_decode_charstring(), git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12779 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/asn.1/asn1_get.c')
-rw-r--r--src/lib/krb5/asn.1/asn1_get.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/krb5/asn.1/asn1_get.c b/src/lib/krb5/asn.1/asn1_get.c
index c8a50ad..b233a1a 100644
--- a/src/lib/krb5/asn.1/asn1_get.c
+++ b/src/lib/krb5/asn.1/asn1_get.c
@@ -32,7 +32,7 @@ asn1_get_tag_indef(buf, class, construction, tagnum, retlen, indef)
asn1_class * class;
asn1_construction * construction;
asn1_tagnum * tagnum;
- int * retlen;
+ unsigned int * retlen;
int * indef;
{
asn1_error_code retval;
@@ -62,7 +62,7 @@ asn1_get_tag(buf, class, construction, tagnum, retlen)
asn1_class *class;
asn1_construction *construction;
asn1_tagnum *tagnum;
- int *retlen;
+ unsigned int *retlen;
{
int indef;
@@ -71,7 +71,7 @@ asn1_get_tag(buf, class, construction, tagnum, retlen)
asn1_error_code asn1_get_sequence(buf, retlen, indef)
asn1buf * buf;
- int * retlen;
+ unsigned int * retlen;
int * indef;
{
asn1_error_code retval;
@@ -128,7 +128,7 @@ asn1_error_code asn1_get_id(buf, class, construction, tagnum)
asn1_error_code asn1_get_length(buf, retlen, indef)
asn1buf * buf;
- int * retlen;
+ unsigned int * retlen;
int * indef;
{
asn1_error_code retval;