components/krb5/patches/018-krb5_keyblock-ABI.patch
changeset 5490 9bf0bc57423a
child 6599 1d033832c5e7
equal deleted inserted replaced
5489:a5031bb8b66d 5490:9bf0bc57423a
       
     1 #
       
     2 # This provides padding for the krb5_keyblock struct so its size will be the
       
     3 # same as it was in ON krb to avoid ABI issues that may be caused by the
       
     4 # difference.  This difference was a result of modifying ON krb to use the
       
     5 # Crytpo Framework/libpkcs11 API as the crypto provider.  This patch is not
       
     6 # intended for upstream contribution to MIT.
       
     7 # Patch source: in-house
       
     8 #
       
     9 
       
    10 --- original/src/include/krb5/krb5.hin	2014-08-11 04:19:59.000000000 -0500
       
    11 +++ krb5-1.13.mockup/src/include/krb5/krb5.hin	2014-08-15 14:56:23.511193392 -0500
       
    12 @@ -347,6 +347,13 @@
       
    13      krb5_enctype enctype;
       
    14      unsigned int length;
       
    15      krb5_octet *contents;
       
    16 +    /*
       
    17 +     * Solaris Kerberos: for backwards ABI compatibility.  The following fields
       
    18 +     * are not used by the MIT code:
       
    19 +     */
       
    20 +    int   *dk_list; /* krb5_dk_node */
       
    21 +    unsigned long hKey; /* CK_OBJECT_HANDLE */
       
    22 +    int pid;
       
    23  } krb5_keyblock;
       
    24  
       
    25  struct krb5_key_st;