need to use decode_krb5_as_rep; need prototypes from libos-proto
authorJohn Kohl <jtkohl@mit.edu>
Fri, 9 Feb 1990 17:20:51 +0000 (17:20 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Fri, 9 Feb 1990 17:20:51 +0000 (17:20 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@339 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/get_in_tkt.c

index 9e4f30f352e279658c037f0f22f348a6fec36a31..a8954719fecd07206ab7f65b795cde3bb1ef5751 100644 (file)
@@ -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 */