소스 검색

Remove an unnecessary state transition.

The split was there out of paranoia that some caller may notice the
change in initial state. Now that SSL_state is neutered, simplify.

BUG=177

Change-Id: I7e2138c2b56821b0c79eec98bb09a82fc28238e8
Reviewed-on: https://boringssl-review.googlesource.com/13828
Reviewed-by: Steven Valdez <svaldez@google.com>
Reviewed-by: David Benjamin <davidben@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
kris/onging/CECPQ3_patch15
David Benjamin 7 년 전
committed by CQ bot account: commit-bot@chromium.org
부모
커밋
35ed5233c2
2개의 변경된 파일0개의 추가작업 그리고 10개의 파일을 삭제
  1. +0
    -5
      ssl/handshake_client.c
  2. +0
    -5
      ssl/handshake_server.c

+ 0
- 5
ssl/handshake_client.c 파일 보기

@@ -200,11 +200,6 @@ int ssl3_connect(SSL_HANDSHAKE *hs) {

switch (hs->state) {
case SSL_ST_INIT:
hs->state = SSL_ST_CONNECT;
skip = 1;
break;

case SSL_ST_CONNECT:
ssl_do_info_callback(ssl, SSL_CB_HANDSHAKE_START, 1);
hs->state = SSL3_ST_CW_CLNT_HELLO_A;
break;


+ 0
- 5
ssl/handshake_server.c 파일 보기

@@ -212,11 +212,6 @@ int ssl3_accept(SSL_HANDSHAKE *hs) {

switch (hs->state) {
case SSL_ST_INIT:
hs->state = SSL_ST_ACCEPT;
skip = 1;
break;

case SSL_ST_ACCEPT:
ssl_do_info_callback(ssl, SSL_CB_HANDSHAKE_START, 1);
hs->state = SSL3_ST_SR_CLNT_HELLO_A;
break;


불러오는 중...
취소
저장