diff session.h @ 686:983a817f8e41 insecure-nocrypto

- Only request "none" cipher after auth has succeeded
author Matt Johnston <matt@ucc.asn.au>
date Thu, 17 May 2012 20:52:57 +0800
parents fc7ae88e63b3
children bf0ac0512ef7
line wrap: on
line diff
--- a/session.h	Thu May 17 08:33:11 2012 +0800
+++ b/session.h	Thu May 17 20:52:57 2012 +0800
@@ -269,6 +269,9 @@
 	int interact_request_received; /* flag whether we've received an 
 									  info request from the server for
 									  interactive auth.*/
+
+	int cipher_none_after_auth; /* Set to 1 if the user requested "none"
+								   auth */
 #endif
 	sign_key *lastprivkey;