contents now in separate pointer
authorJohn Kohl <jtkohl@mit.edu>
Tue, 30 Jan 1990 16:32:34 +0000 (16:32 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Tue, 30 Jan 1990 16:32:34 +0000 (16:32 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@199 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/encryption.h
src/include/krb5/hostaddr.h

index 1f0774ad7348e4901309b59fb8267e82fbe6ae0b..6dca4703550b801818963b437ce63981d1363508 100644 (file)
 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 {
index 1b3d752cef1a2d2dd45a67addd45cbcc2426dd00..4148c7961662d3bb765339f5d150258ebb65ae3f 100644 (file)
@@ -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 */