gensec: Add a check if a gensec module implements weak crypto
[samba.git] / auth / gensec / gensec_internal.h
index 911b48b52d625f79165081fba5c2018e736948f3..8efb1bdff0fb39f0779a5a112d6e192c1d492694 100644 (file)
@@ -28,6 +28,7 @@ struct gensec_security;
 struct gensec_security_ops {
        const char *name;
        const char *sasl_name;
+       bool weak_crypto;
        uint8_t auth_type;  /* 0 if not offered on DCE-RPC */
        const char **oid;  /* NULL if not offered by SPNEGO */
        NTSTATUS (*client_start)(struct gensec_security *gensec_security);