]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Clarify header comment for krb5_cc_start_seq_get()
authorRobbie Harwood <rharwood@redhat.com>
Tue, 2 Apr 2019 18:18:57 +0000 (14:18 -0400)
committerGreg Hudson <ghudson@mit.edu>
Wed, 10 Apr 2019 21:43:15 +0000 (17:43 -0400)
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

index eb3160770650816fef75724d7567fd6ef5c0d312..75787fbdd16e9dfddfdcad1b1f7cca1021db089f 100644 (file)
@@ -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
  */