projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9b6c2d
)
* k5-int.h (krb5_copy_error_state): New macro
author
Ken Raeburn
<raeburn@mit.edu>
Sat, 24 Jun 2006 03:07:29 +0000
(
03:07
+0000)
committer
Ken Raeburn
<raeburn@mit.edu>
Sat, 24 Jun 2006 03:07:29 +0000
(
03:07
+0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18210
dc483132
-0cff-0310-8789-
dd5450dbe970
src/include/k5-int.h
patch
|
blob
|
history
diff --git
a/src/include/k5-int.h
b/src/include/k5-int.h
index 1bc3ed2d7c8148e63aee96aa5175e9f9ffe2cd4d..a8b9e5d99a9fb94b77b0f840d4b3b664be33d825 100644
(file)
--- a/
src/include/k5-int.h
+++ b/
src/include/k5-int.h
@@
-1885,4
+1885,7
@@
krb5int_c_mandatory_cksumtype (krb5_context, krb5_enctype, krb5_cksumtype *);
extern int krb5int_crypto_init (void);
extern int krb5int_prng_init(void);
+#define krb5_copy_error_state(CTX, OCTX) \
+ krb5int_set_error(&(CTX)->errinfo, (OCTX)->errinfo.code, "%s", (OCTX)->errinfo.msg)
+
#endif /* _KRB5_INT_H */