projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac1ef7e
)
Allow new session ticket when resuming.
author
Dr. Stephen Henson
<steve@openssl.org>
Sat, 3 Nov 2007 13:07:39 +0000
(13:07 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Sat, 3 Nov 2007 13:07:39 +0000
(13:07 +0000)
ssl/s3_clnt.c
patch
|
blob
|
history
diff --git
a/ssl/s3_clnt.c
b/ssl/s3_clnt.c
index a7605d4895fcf66c5d62fde555464c880e5ad290..7b3eb7ab0257987a8184397670022655b39d71f1 100644
(file)
--- a/
ssl/s3_clnt.c
+++ b/
ssl/s3_clnt.c
@@
-273,7
+273,10
@@
int ssl3_connect(SSL *s)
if (ret == 2)
{
s->hit = 1;
- s->state=SSL3_ST_CR_FINISHED_A;
+ if (s->tlsext_ticket_expected)
+ s->state=SSL3_ST_CR_SESSION_TICKET_A;
+ else
+ s->state=SSL3_ST_CR_FINISHED_A;
s->init_num=0;
break;
}