auth/gensec: make sure there's only one pending gensec_update_send() per context
[vlendec/samba-autobuild/.git] / auth / gensec / gensec_internal.h
index b3a84344d2dce1b664ecdd41c64ef642b68ced0d..c73be11ded69f3dfdcef735c0db75b971be7f2c1 100644 (file)
@@ -113,6 +113,12 @@ struct gensec_security {
 
        struct gensec_security *parent_security;
        struct gensec_security *child_security;
+
+       /*
+        * This is used to mark the context as being
+        * busy in an async gensec_update_send().
+        */
+       struct gensec_security **update_busy_ptr;
 };
 
 /* this structure is used by backends to determine the size of some critical types */