Update from HEAD.
authorDr. Stephen Henson <steve@openssl.org>
Fri, 31 Aug 2007 00:28:51 +0000 (00:28 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 31 Aug 2007 00:28:51 +0000 (00:28 +0000)
ssl/s3_clnt.c

index 49f781225b2407a3b4514b30658c8d1d5f58ddc5..4d4d63a6f1b64971a706f2bfe6372b881c314cfe 100644 (file)
@@ -446,6 +446,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;