summaryrefslogtreecommitdiff
path: root/lib/krb5_wrap
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2016-08-29 17:27:06 +0200
committerAndrew Bartlett <abartlet@samba.org>2016-08-31 20:59:17 +0200
commit1d8c1cac96f3490f6b2606f31b587163a89936e4 (patch)
treede5d7de2c857fb8ed7f1aee3cad7f287b14dfbc6 /lib/krb5_wrap
parentdbcba4c808b232a1046de4d27c7b5d97c642e1e5 (diff)
downloadsamba-1d8c1cac96f3490f6b2606f31b587163a89936e4.tar.gz
krb5_wrap: Improve smb_krb5_get_allowed_weak_crypto() documentation
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'lib/krb5_wrap')
-rw-r--r--lib/krb5_wrap/krb5_samba.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/lib/krb5_wrap/krb5_samba.c b/lib/krb5_wrap/krb5_samba.c
index 11851846d0c..cddabb8866c 100644
--- a/lib/krb5_wrap/krb5_samba.c
+++ b/lib/krb5_wrap/krb5_samba.c
@@ -2773,15 +2773,12 @@ char *smb_get_krb5_error_message(krb5_context context,
/**
-* @brief Return the kerberos library setting for "libdefaults:allow_weak_crypto"
-*
-* @param context The krb5_context
-*
-* @return krb5_boolean
-*
-* Function returns true if weak crypto is allowd, false if not
-*/
-
+ * @brief Return the kerberos library setting for: libdefaults:allow_weak_crypto
+ *
+ * @param[in] context The library context
+ *
+ * @return True if weak crypto is allowed, false if not.
+ */
krb5_boolean smb_krb5_get_allowed_weak_crypto(krb5_context context)
#if defined(HAVE_KRB5_CONFIG_GET_BOOL_DEFAULT)
{