summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1990-02-09 17:20:51 +0000
committerJohn Kohl <jtkohl@mit.edu>1990-02-09 17:20:51 +0000
commitcabc316ef8cd4ddf48ada131dbf54dc34624ab4d (patch)
tree850ae56d1377482fb7d01503d66f7811b10305ea /src
parent8ae1b8dde4f0f2d8ac50a8eeb89625f7a56806f0 (diff)
downloadkrb5-cabc316ef8cd4ddf48ada131dbf54dc34624ab4d.tar.gz
krb5-cabc316ef8cd4ddf48ada131dbf54dc34624ab4d.tar.xz
krb5-cabc316ef8cd4ddf48ada131dbf54dc34624ab4d.zip
need to use decode_krb5_as_rep; need prototypes from libos-proto
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@339 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/lib/krb5/krb/get_in_tkt.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/krb5/krb/get_in_tkt.c b/src/lib/krb5/krb/get_in_tkt.c
index 9e4f30f35..a8954719f 100644
--- a/src/lib/krb5/krb/get_in_tkt.c
+++ b/src/lib/krb5/krb/get_in_tkt.c
@@ -19,6 +19,8 @@ static char rcsid_get_in_tkt_c[] =
#include <krb5/krb5.h>
#include <krb5/krb5_err.h>
#include <krb5/asn1.h>
+#include <stdio.h>
+#include <krb5/libos-proto.h>
#include <errno.h>
#include <krb5/ext-proto.h>
@@ -112,7 +114,7 @@ OLDDECLARG(krb5_ccache, ccache)
/* now decode the reply...could be error or as_rep */
- if (retval = decode_krb5_kdc_rep(packet, &as_reply)) {
+ if (retval = decode_krb5_as_rep(packet, &as_reply)) {
if (retval = decode_krb5_error(packet, &err_reply))
return retval; /* some other packet--??? */
/* it was an error */