summaryrefslogtreecommitdiffstats
path: root/ssl/ssl3.h
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2011-03-16 11:26:40 +0000
committerBen Laurie <ben@openssl.org>2011-03-16 11:26:40 +0000
commita149b2466e8adb97b1fe855d189bac58d3b654dd (patch)
treea8c1960c89edb19bcd34a71aa875cb0f2930e96a /ssl/ssl3.h
parent13e230d50546a964b5090c1e5df80cc7faf8821c (diff)
Add SRP.
Diffstat (limited to 'ssl/ssl3.h')
-rw-r--r--ssl/ssl3.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssl/ssl3.h b/ssl/ssl3.h
index baaa89e717..8bfa58806e 100644
--- a/ssl/ssl3.h
+++ b/ssl/ssl3.h
@@ -566,6 +566,8 @@ typedef struct ssl3_state_st
#define SSL3_ST_SR_CLNT_HELLO_A (0x110|SSL_ST_ACCEPT)
#define SSL3_ST_SR_CLNT_HELLO_B (0x111|SSL_ST_ACCEPT)
#define SSL3_ST_SR_CLNT_HELLO_C (0x112|SSL_ST_ACCEPT)
+/* a new state to remember that we have already receive a ClientHello without srp username extension */
+#define SSL3_ST_SR_CLNT_HELLO_SRP_USERNAME (0x1E2|SSL_ST_ACCEPT)
/* write to client */
#define DTLS1_ST_SW_HELLO_VERIFY_REQUEST_A (0x113|SSL_ST_ACCEPT)
#define DTLS1_ST_SW_HELLO_VERIFY_REQUEST_B (0x114|SSL_ST_ACCEPT)