]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Un-deprecate krb5_auth_con_initivector() 631/head
authorGreg Hudson <ghudson@mit.edu>
Fri, 7 Apr 2017 15:05:16 +0000 (11:05 -0400)
committerGreg Hudson <ghudson@mit.edu>
Sat, 8 Apr 2017 01:26:02 +0000 (21:26 -0400)
The kprop protocol uses cipher state via this call, perhaps along with
other.  As there is no replacement, the call should not be deprecated
in the API.

ticket: 8572 (new)

src/include/krb5/krb5.hin

index 4be51160f447751fbc1a5658b767b0f37be4629f..58a270796d477caf2620c181cd16c4bc5f5e614c 100644 (file)
@@ -6002,15 +6002,19 @@ krb5_error_code KRB5_CALLCONV
 krb5_auth_con_getremoteseqnumber(krb5_context context, krb5_auth_context auth_context,
                                  krb5_int32 *seqnumber);
 
-#if KRB5_DEPRECATED
-/** @deprecated Not replaced.
+/**
+ * Cause an auth context to use cipher state.
+ *
+ * @param [in]  context         Library context
+ * @param [in]  auth_context    Authentication context
  *
- * RFC 4120 doesn't have anything like the initvector concept;
- * only really old protocols may need this API.
+ * Prepare @a auth_context to use cipher state when krb5_mk_priv() or
+ * krb5_rd_priv() encrypt or decrypt data.
+ *
+ * @retval 0 Success; otherwise - Kerberos error codes
  */
-KRB5_ATTR_DEPRECATED krb5_error_code KRB5_CALLCONV
+krb5_error_code KRB5_CALLCONV
 krb5_auth_con_initivector(krb5_context context, krb5_auth_context auth_context);
-#endif
 
 /**
  * Set the replay cache in an auth context.