krb5 commit: Clarify header comment for krb5_cc_start_seq_get()
Greg Hudson
ghudson at mit.edu
Wed Apr 10 18:07:12 EDT 2019
https://github.com/krb5/krb5/commit/f4f51a25dd38601357e2f64b17b51eb23f45a53e
commit f4f51a25dd38601357e2f64b17b51eb23f45a53e
Author: Robbie Harwood <rharwood at redhat.com>
Date: Tue Apr 2 14:18:57 2019 -0400
Clarify header comment for krb5_cc_start_seq_get()
Previously this comment seemed to suggest that applications needed to
block all other access to the ccache (including by other processes)
during iteration.
src/include/krb5/krb5.hin | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/include/krb5/krb5.hin b/src/include/krb5/krb5.hin
index eb31607..75787fb 100644
--- a/src/include/krb5/krb5.hin
+++ b/src/include/krb5/krb5.hin
@@ -2485,8 +2485,10 @@ krb5_cc_get_principal(krb5_context context, krb5_ccache cache,
*
* krb5_cc_end_seq_get() must be called to complete the retrieve operation.
*
- * @note If @a cache is modified between the time of the call to this function
- * and the time of the final krb5_cc_end_seq_get(), the results are undefined.
+ * @note If the cache represented by @a cache is modified between the time of
+ * the call to this function and the time of the final krb5_cc_end_seq_get(),
+ * these changes may not be reflected in the results of krb5_cc_next_cred()
+ * calls.
*
* @retval 0 Success; otherwise - Kerberos error codes
*/
More information about the cvs-krb5
mailing list