2019-11-27 17:36:19 +00:00
|
|
|
From eb8d1bbf210b159384859dd482657a31de80a787 Mon Sep 17 00:00:00 2001
|
2019-04-11 17:18:46 +00:00
|
|
|
From: Robbie Harwood <rharwood@redhat.com>
|
|
|
|
Date: Tue, 2 Apr 2019 14:18:57 -0400
|
|
|
|
Subject: [PATCH] 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.
|
|
|
|
|
|
|
|
(cherry picked from commit f4f51a25dd38601357e2f64b17b51eb23f45a53e)
|
|
|
|
---
|
|
|
|
src/include/krb5/krb5.hin | 6 ++++--
|
|
|
|
1 file changed, 4 insertions(+), 2 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/src/include/krb5/krb5.hin b/src/include/krb5/krb5.hin
|
|
|
|
index 3ff86d7ff..346e796a5 100644
|
|
|
|
--- a/src/include/krb5/krb5.hin
|
|
|
|
+++ b/src/include/krb5/krb5.hin
|
|
|
|
@@ -2491,8 +2491,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
|
|
|
|
*/
|