From: John Kohl Date: Wed, 9 May 1990 17:11:08 +0000 (+0000) Subject: changes for new encryption interface X-Git-Tag: krb5-1.0-alpha2~591 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=860c248bf6661a63d2d89c0ff0463f0f3e2eeac9;p=krb5.git changes for new encryption interface git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@814 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/mk_priv.c b/src/lib/krb5/krb/mk_priv.c index aa6043b77..c6359d4bf 100644 --- a/src/lib/krb5/krb/mk_priv.c +++ b/src/lib/krb5/krb/mk_priv.c @@ -109,7 +109,7 @@ OLDDECLARG(krb5_data *, outbuf) if (retval = (*eblock.crypto_entry->encrypt_func)((krb5_pointer) scratch->data, (krb5_pointer) privmsg.enc_part.data, - scratch->length, &eblock)) { + scratch->length, &eblock, 0)) { goto clean_prockey; } diff --git a/src/lib/krb5/krb/rd_priv.c b/src/lib/krb5/krb/rd_priv.c index 53490e32a..6e9f15050 100644 --- a/src/lib/krb5/krb/rd_priv.c +++ b/src/lib/krb5/krb/rd_priv.c @@ -87,7 +87,7 @@ OLDDECLARG(krb5_data *, outbuf) if (retval = (*eblock.crypto_entry->decrypt_func)((krb5_pointer) privmsg->enc_part.data, (krb5_pointer) scratch.data, - scratch.length, &eblock)) { + scratch.length, &eblock, 0)) { cleanup_privmsg(); cleanup_scratch(); cleanup_prockey(); diff --git a/src/lib/krb5/krb/rd_req_dec.c b/src/lib/krb5/krb/rd_req_dec.c index b36b57aac..695e7bf81 100644 --- a/src/lib/krb5/krb/rd_req_dec.c +++ b/src/lib/krb5/krb/rd_req_dec.c @@ -205,7 +205,7 @@ krb5_authenticator **authpp; if (retval = (*eblock.crypto_entry->decrypt_func)((krb5_pointer) request->authenticator.data, (krb5_pointer) scratch.data, - scratch.length, &eblock)) { + scratch.length, &eblock, 0)) { (void) (*eblock.crypto_entry->finish_key)(&eblock); free(scratch.data); return retval;