From: Richard Basch Date: Thu, 6 Feb 1997 04:42:57 +0000 (+0000) Subject: util_crypt.c: Include k5-int.h because we need to access the private X-Git-Tag: krb5-1.1-beta1~1376 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b2c6e775e55f20581ff1028277dfa0c23ba9c4bd;p=krb5.git util_crypt.c: Include k5-int.h because we need to access the private cryptosystem structures of the krb5_encrypt_block structure git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9798 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/gssapi/krb5/ChangeLog b/src/lib/gssapi/krb5/ChangeLog index 67bf46319..e067bbd69 100644 --- a/src/lib/gssapi/krb5/ChangeLog +++ b/src/lib/gssapi/krb5/ChangeLog @@ -1,5 +1,8 @@ Wed Feb 5 20:27:50 1997 Richard Basch + * 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 diff --git a/src/lib/gssapi/krb5/util_crypt.c b/src/lib/gssapi/krb5/util_crypt.c index bf49de41d..1684377ad 100644 --- a/src/lib/gssapi/krb5/util_crypt.c +++ b/src/lib/gssapi/krb5/util_crypt.c @@ -20,6 +20,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#include "k5-int.h" #include "gssapiP_krb5.h" #include @@ -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)); }