summaryrefslogtreecommitdiffstats
path: root/ssl/ssl3.h
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2011-03-12 17:01:19 +0000
committerBen Laurie <ben@openssl.org>2011-03-12 17:01:19 +0000
commitedc032b5e3f3ebb1006a9c89e0ae00504f47966f (patch)
tree34145e288daa107b0f9fcb951abd786804624081 /ssl/ssl3.h
parent0c4e67102eb8a05ab1f6673b670a09ce89aeb568 (diff)
Add SRP support.
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 7c0a59510d..4ff7c80c6c 100644
--- a/ssl/ssl3.h
+++ b/ssl/ssl3.h
@@ -576,6 +576,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)