diff options
author | Bodo Möller <bodo@openssl.org> | 2000-01-26 22:36:55 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2000-01-26 22:36:55 +0000 |
commit | 52732b38da995490fa33f8062a25d37cd7e7abcc (patch) | |
tree | c3d0df61bde15db39ddec86dfc9774644fc47fea /ssl/s3_both.c | |
parent | ada3cc4a8fb407c3ea6c399de03fd7e1084ae6c3 (diff) | |
download | openssl-52732b38da995490fa33f8062a25d37cd7e7abcc.zip openssl-52732b38da995490fa33f8062a25d37cd7e7abcc.tar.gz openssl-52732b38da995490fa33f8062a25d37cd7e7abcc.tar.bz2 |
Some comments added, and slight code clean-ups.
Diffstat (limited to 'ssl/s3_both.c')
-rw-r--r-- | ssl/s3_both.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ssl/s3_both.c b/ssl/s3_both.c index bbe9aa7..9b67663 100644 --- a/ssl/s3_both.c +++ b/ssl/s3_both.c @@ -256,6 +256,11 @@ unsigned long ssl3_output_cert_chain(SSL *s, X509 *x) return(l); } +/* Obtain handshake message of message type 'mt' (any if mt == -1), + * maximum acceptable body length 'max'. + * The first four bytes (msg_type and length) are read in state 'st1', + * the body is read in state 'stn'. + */ long ssl3_get_message(SSL *s, int st1, int stn, int mt, long max, int *ok) { unsigned char *p; |