Introduce negotiation for Diffie--Hellman groups.
[secnet] / secnet.h
index ee6af9c..554df4b 100644 (file)
--- a/secnet.h
+++ b/secnet.h
@@ -632,6 +632,7 @@ struct dh_if {
     void *st;
     int32_t secret_len; /* Size of random secret to generate */
     int32_t shared_len; /* Size of generated shared secret */
+    int capab_bit;
     dh_makepublic_fn *makepublic;
     dh_makeshared_fn *makeshared;
 };