projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3bd1ff
)
modify realm_of_tgt to use krb5_princ_realm()
author
John Kohl
<jtkohl@mit.edu>
Fri, 9 Feb 1990 16:23:50 +0000
(16:23 +0000)
committer
John Kohl
<jtkohl@mit.edu>
Fri, 9 Feb 1990 16:23:50 +0000
(16:23 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@333
dc483132
-0cff-0310-8789-
dd5450dbe970
src/kdc/kdc_util.h
patch
|
blob
|
history
diff --git
a/src/kdc/kdc_util.h
b/src/kdc/kdc_util.h
index 267922ae445f118eb2a7df9f44a76d86a74a267a..ecda3cb13f8343ff70bd124ece3ecfa5bf2764c7 100644
(file)
--- a/
src/kdc/kdc_util.h
+++ b/
src/kdc/kdc_util.h
@@
-56,7
+56,7
@@
void closedown_network PROTOTYPE((void));
#define setflag(flagfield, flag) (flagfield |= (flag))
#define clear(flagfield, flag) (flagfield &= ~(flag))
-#define realm_of_tgt(ticket)
((ticket)->server[0]
)
+#define realm_of_tgt(ticket)
krb5_princ_realm(ticket->server
)
#ifndef min
#define min(a, b) ((a) < (b) ? (a) : (b))