diff options
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/krb5/encryption.h | 6 | ||||
| -rw-r--r-- | src/include/krb5/hostaddr.h | 3 |
2 files changed, 3 insertions, 6 deletions
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 */ |
