Browse Source

Fix ssl3_send_client_certificate state machine.

If ssl_do_write takes more than one iteration, ssl3_output_cert_chain
would be called an extra time. This is very unlikely in practice because
of the buffer BIO.

Change-Id: Ic1ae9752a8837bb404429fc60306c659208c6185
Reviewed-on: https://boringssl-review.googlesource.com/5340
Reviewed-by: Adam Langley <agl@google.com>
kris/onging/CECPQ3_patch15
David Benjamin 9 years ago
committed by Adam Langley
parent
commit
67dc83851b
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      ssl/s3_clnt.c

+ 1
- 0
ssl/s3_clnt.c View File

@@ -2182,6 +2182,7 @@ int ssl3_send_client_certificate(SSL *s) {
if (!ssl3_output_cert_chain(s, cert_pkey)) {
return -1;
}
s->state = SSL3_ST_CW_CERT_D;
}

/* SSL3_ST_CW_CERT_D */


Loading…
Cancel
Save