diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2007-08-31 00:28:01 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2007-08-31 00:28:01 +0000 |
commit | 446124a25864542d026883160fe1e0f40475809e (patch) | |
tree | 9d1d1636279502b3598bae9440f4f53980e0b1b1 /ssl | |
parent | 583b0b67ab14d186fd1405a5e09b7f9809666c77 (diff) |
Check return code when attempting to receive new session ticket message.
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/s3_clnt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ssl/s3_clnt.c b/ssl/s3_clnt.c index fc628b5dac..0b8d89d1ac 100644 --- a/ssl/s3_clnt.c +++ b/ssl/s3_clnt.c @@ -469,6 +469,7 @@ int ssl3_connect(SSL *s) case SSL3_ST_CR_SESSION_TICKET_A: case SSL3_ST_CR_SESSION_TICKET_B: ret=ssl3_get_new_session_ticket(s); + if (ret <= 0) goto end; s->state=SSL3_ST_CR_FINISHED_A; s->init_num=0; break; |