Use accept flag for new session ticket write.
authorDr. Stephen Henson <steve@openssl.org>
Sun, 23 Sep 2007 15:55:15 +0000 (15:55 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 23 Sep 2007 15:55:15 +0000 (15:55 +0000)
ssl/ssl3.h

index 29cd3da..e04226f 100644 (file)
@@ -586,8 +586,8 @@ typedef struct ssl3_state_st
 #define SSL3_ST_SW_CHANGE_B            (0x1D1|SSL_ST_ACCEPT)
 #define SSL3_ST_SW_FINISHED_A          (0x1E0|SSL_ST_ACCEPT)
 #define SSL3_ST_SW_FINISHED_B          (0x1E1|SSL_ST_ACCEPT)
-#define SSL3_ST_SW_SESSION_TICKET_A    (0x1F0|SSL_ST_CONNECT)
-#define SSL3_ST_SW_SESSION_TICKET_B    (0x1F1|SSL_ST_CONNECT)
+#define SSL3_ST_SW_SESSION_TICKET_A    (0x1F0|SSL_ST_ACCEPT)
+#define SSL3_ST_SW_SESSION_TICKET_B    (0x1F1|SSL_ST_ACCEPT)
 
 #define SSL3_MT_HELLO_REQUEST                  0
 #define SSL3_MT_CLIENT_HELLO                   1