util_crypt.c: Include k5-int.h because we need to access the private
authorRichard Basch <probe@mit.edu>
Thu, 6 Feb 1997 04:42:57 +0000 (04:42 +0000)
committerRichard Basch <probe@mit.edu>
Thu, 6 Feb 1997 04:42:57 +0000 (04:42 +0000)
cryptosystem structures of the krb5_encrypt_block structure

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9798 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/gssapi/krb5/ChangeLog
src/lib/gssapi/krb5/util_crypt.c

index 67bf46319a6bd4eaecda251b6dc3e56a11fb3815..e067bbd6921510f6642a01291160dc5a030e4dea 100644 (file)
@@ -1,5 +1,8 @@
 Wed Feb  5 20:27:50 1997  Richard Basch  <basch@lehman.com>
 
+       * util_crypt.c: Include k5-int.h as we need to dereference
+               the _cryptosystem_entry element of the krb5_encrypt_block.
+
        * acquire_cred.c (acquire_accept_cred): Removed unused local variable
 
 Tue Feb  4 15:56:01 1997  Richard Basch  <basch@lehman.com>
index bf49de41daf62d16131e1254982bc64bf5e755d1..1684377ad66aa91ad76b05e895258e625fa18f40 100644 (file)
@@ -20,6 +20,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
+#include "k5-int.h"
 #include "gssapiP_krb5.h"
 #include <memory.h>
 
@@ -33,7 +34,7 @@ int
 kg_confounder_size(ed)
      krb5_gss_enc_desc *ed;
 {
-   /* XXX Is this an abstraction violation? */
+   /* XXX Abstraction violation!!! */
 
    return(ed->eblock.crypto_entry->block_length);
 }
@@ -43,6 +44,8 @@ kg_make_confounder(ed, buf)
      krb5_gss_enc_desc *ed;
      unsigned char *buf;
 {
+   /* XXX Abstraction violation!!! */
+
    return(krb5_random_confounder(ed->eblock.crypto_entry->block_length, buf));
 }