summaryrefslogtreecommitdiff
path: root/lib/gnutls_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gnutls_int.h')
-rw-r--r--lib/gnutls_int.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h
index 08c76f5caf..2871607b53 100644
--- a/lib/gnutls_int.h
+++ b/lib/gnutls_int.h
@@ -1225,9 +1225,6 @@ typedef struct {
/* it is a copy of the handshake hash buffer if post handshake is used */
gnutls_buffer_st post_handshake_hash_buffer;
-/* When either of PSK or DHE-PSK is received */
-#define HSK_PSK_KE_MODES_RECEIVED (HSK_PSK_KE_MODE_PSK|HSK_PSK_KE_MODE_DHE_PSK|HSK_PSK_KE_MODE_INVALID)
-
#define HSK_CRT_VRFY_EXPECTED 1
#define HSK_CRT_SENT (1<<1)
#define HSK_CRT_ASKED (1<<2)
@@ -1345,6 +1342,12 @@ typedef struct {
/* the ciphersuite received in HRR */
uint8_t hrr_cs[2];
+#define PSK_KE 0
+#define PSK_DHE_KE 1
+
+ int psk_ke_modes[2];
+ unsigned psk_ke_modes_size;
+
int session_ticket_enable;
int session_ticket_renew;