From 5926fa4daf30ecef2162fea001b6be4e1fdd9c27 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Mon, 13 Oct 1997 21:21:33 +0000 Subject: [PATCH] Add {get,set}enctype. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3599 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/auth_context.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/lib/krb5/auth_context.c b/lib/krb5/auth_context.c index 2a4cd1588..622f13701 100644 --- a/lib/krb5/auth_context.c +++ b/lib/krb5/auth_context.c @@ -267,6 +267,24 @@ krb5_auth_getcksumtype(krb5_context context, return 0; } +krb5_error_code +krb5_auth_setenctype(krb5_context context, + krb5_auth_context auth_context, + krb5_enctype etype) +{ + auth_context->enctype = etype; + return 0; +} + +krb5_error_code +krb5_auth_getenctype(krb5_context context, + krb5_auth_context auth_context, + krb5_enctype *etype) +{ + *etype = auth_context->enctype; + return 0; +} + krb5_error_code krb5_auth_getlocalseqnumber(krb5_context context, krb5_auth_context auth_context,