From: John Kohl Date: Tue, 30 Jan 1990 16:32:34 +0000 (+0000) Subject: contents now in separate pointer X-Git-Tag: krb5-1.0-alpha2~1184 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=27198014e0bc5f3e1fa9cf5dcd661f3d461deabe;p=krb5.git contents now in separate pointer git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@199 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/krb5/encryption.h b/src/include/krb5/encryption.h index 1f0774ad7..6dca47035 100644 --- a/src/include/krb5/encryption.h +++ b/src/include/krb5/encryption.h @@ -19,15 +19,13 @@ typedef struct _krb5_keyblock { krb5_keytype keytype; int length; - krb5_octet contents[1]; /* actually can be more, depending - on length */ + krb5_octet *contents; } krb5_keyblock; typedef struct _krb5_checksum { krb5_cksumtype checksum_type; /* checksum type */ int length; - krb5_octet contents[1]; /* actually can be more, depending - on length */ + krb5_octet *contents; } krb5_checksum; typedef struct _krb5_encrypt_block { diff --git a/src/include/krb5/hostaddr.h b/src/include/krb5/hostaddr.h index 1b3d752ce..4148c7961 100644 --- a/src/include/krb5/hostaddr.h +++ b/src/include/krb5/hostaddr.h @@ -20,8 +20,7 @@ typedef struct _krb5_address { krb5_addrtype addrtype; int length; - krb5_octet contents[1]; /* actually can be more, depending - on length */ + krb5_octet *contents; } krb5_address; /* per Kerberos v5 protocol spec */