aboutsummaryrefslogtreecommitdiff
path: root/src/lib/rpc
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2006-03-11 22:23:28 +0000
committerKen Raeburn <raeburn@mit.edu>2006-03-11 22:23:28 +0000
commitcee79e98488ba138d1ebadb7488df7da54be627b (patch)
treefd329cef103b8a0f5bddccc360f15cb6ca8c9d41 /src/lib/rpc
parent6b3217ad6ab98d4365f32d45948717e212684678 (diff)
downloadkrb5-cee79e98488ba138d1ebadb7488df7da54be627b.zip
krb5-cee79e98488ba138d1ebadb7488df7da54be627b.tar.gz
krb5-cee79e98488ba138d1ebadb7488df7da54be627b.tar.bz2
Instead of arbitrary division of headers into include and include/krb5, with
include directives sometimes using krb5/foo.h and sometimes using foo.h, and -I options always given for both directories in both source and build trees, push include/krb5/* up a level and drop the krb5 directory (except, for the moment, the change log). Updated #include directives, -I options, and dependencies accordingly, and deleted one or two bits of old, unused code that was noticed in the process. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17730 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/rpc')
-rw-r--r--src/lib/rpc/unit-test/ChangeLog4
-rw-r--r--src/lib/rpc/unit-test/server.c29
2 files changed, 4 insertions, 29 deletions
diff --git a/src/lib/rpc/unit-test/ChangeLog b/src/lib/rpc/unit-test/ChangeLog
index f97c77f..5da06fe 100644
--- a/src/lib/rpc/unit-test/ChangeLog
+++ b/src/lib/rpc/unit-test/ChangeLog
@@ -1,3 +1,7 @@
+2006-03-11 Ken Raeburn <raeburn@mit.edu>
+
+ * server.c (krb5_kt_default_name): Deleted unused function.
+
2005-08-20 Ken Raeburn <raeburn@mit.edu>
* configure.in: Use K5_AC_INIT instead of AC_INIT.
diff --git a/src/lib/rpc/unit-test/server.c b/src/lib/rpc/unit-test/server.c
index df8f4c9..e831a0d 100644
--- a/src/lib/rpc/unit-test/server.c
+++ b/src/lib/rpc/unit-test/server.c
@@ -258,32 +258,3 @@ void log_badauth_display_status_1(OM_uint32 code, int type, int rec)
break;
}
}
-
-
-#if 0
-
-/* this hack is no longer necessary, since the library supports it
- internally */
-
-/* This is a hack to change the default keytab name */
-
-#include <krb5/krb5.h>
-extern char *krb5_defkeyname;
-
-krb5_error_code
-krb5_kt_default_name(char *name, int namesize)
-{
- char *ktname;
-
- if ((ktname = getenv("KRB5KTNAME")) == NULL)
- ktname = krb5_defkeyname;
-
- if (namesize < strlen(ktname)+1)
- return(KRB5_CONFIG_NOTENUFSPACE);
-
- strcpy(name, ktname);
-
- return(0);
-}
-
-#endif