summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2009-02-05 18:42:10 +0000
committerKen Raeburn <raeburn@mit.edu>2009-02-05 18:42:10 +0000
commit5726fcb8ee77cebb03087159dfd18f0dfd5733bb (patch)
treecf8fa9f627198ceb8cf7ade0ca5c0f26f3cd159d /src/include
parent7ddad650cc63bacc2179ffbb22c94b5fe1b55f7c (diff)
downloadkrb5-5726fcb8ee77cebb03087159dfd18f0dfd5733bb.tar.gz
krb5-5726fcb8ee77cebb03087159dfd18f0dfd5733bb.tar.xz
krb5-5726fcb8ee77cebb03087159dfd18f0dfd5733bb.zip
Create and use (in several places) a variant of
krb5int_copy_data_contents that adds a trailing '\0' so the result can be used as a C string. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21893 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
-rw-r--r--src/include/k5-int.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/k5-int.h b/src/include/k5-int.h
index c0540f38a..11d19e469 100644
--- a/src/include/k5-int.h
+++ b/src/include/k5-int.h
@@ -1149,6 +1149,9 @@ krb5_error_code
krb5int_copy_data_contents (krb5_context, const krb5_data *, krb5_data *);
krb5_error_code
+krb5int_copy_data_contents_add0 (krb5_context, const krb5_data *, krb5_data *);
+
+krb5_error_code
krb5int_copy_creds_contents (krb5_context, const krb5_creds *, krb5_creds *);
typedef krb5_error_code (*krb5_gic_get_as_key_fct)