move krb5_generate_subkey to deprecated and provide doxygen

This commit is contained in:
Love Hornquist Astrand
2009-10-04 10:57:06 -07:00
parent 615820b0af
commit 4f6759157b

View File

@@ -33,13 +33,18 @@
#include <krb5_locl.h> #include <krb5_locl.h>
krb5_error_code KRB5_LIB_FUNCTION /**
krb5_generate_subkey(krb5_context context, * Generate subkey, from keyblock
const krb5_keyblock *key, *
krb5_keyblock **subkey) * @param context kerberos context
{ * @param key session key
return krb5_generate_subkey_extended(context, key, key->keytype, subkey); * @param etype encryption type of subkey, if ETYPE_NULL, use key's enctype
} * @param subkey returned new, free with krb5_free_keyblock().
*
* @return 0 on success or a Kerberos 5 error code
*
* @ingroup krb5_crypto
*/
krb5_error_code KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_FUNCTION
krb5_generate_subkey_extended(krb5_context context, krb5_generate_subkey_extended(krb5_context context,