summaryrefslogtreecommitdiffstats
path: root/manage.h
diff options
context:
space:
mode:
authorJames Yonan <james@openvpn.net>2010-12-13 09:27:08 +0000
committerDavid Sommerseth <davids@redhat.com>2011-03-25 09:38:48 +0100
commit7fc00d4cbe87206eea3ff5a8d12908c8c942f045 (patch)
treef912cf7fef1c9be191d2fadc0c05ac9a984da2d3 /manage.h
parentcf69617bbea45a15423c4188daa9386debcbe1ec (diff)
downloadopenvpn-7fc00d4cbe87206eea3ff5a8d12908c8c942f045.tar.gz
openvpn-7fc00d4cbe87206eea3ff5a8d12908c8c942f045.tar.xz
openvpn-7fc00d4cbe87206eea3ff5a8d12908c8c942f045.zip
Misc fixes to r6708.
Fixed issue where "signal SIGTERM" entered from the management interface might get subsequently downgraded to a SIGUSR1. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@6716 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'manage.h')
-rw-r--r--manage.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/manage.h b/manage.h
index 697ddf8..a8f971b 100644
--- a/manage.h
+++ b/manage.h
@@ -268,11 +268,7 @@ struct man_connection {
# define IEC_UNDEF 0
# define IEC_CLIENT_AUTH 1
# define IEC_CLIENT_PF 2
-
-# define IEC_STATEFUL_BASE 16
-# define IEC_RSA_SIGN_PRE 16
-# define IEC_RSA_SIGN 17
-# define IEC_RSA_SIGN_FINAL 18
+# define IEC_RSA_SIGN 3
int in_extra_cmd;
struct buffer_list *in_extra;
#ifdef MANAGEMENT_DEF_AUTH
@@ -280,6 +276,14 @@ struct man_connection {
unsigned int in_extra_kid;
int env_filter_level;
#endif
+#ifdef MANAGMENT_EXTERNAL_KEY
+# define EKS_UNDEF 0
+# define EKS_SOLICIT 1
+# define EKS_INPUT 2
+# define EKS_READY 3
+ int ext_key_state;
+ struct buffer_list *ext_key_input;
+#endif
#endif
struct event_set *es;