summaryrefslogtreecommitdiffstats
path: root/ssl/s3_both.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2000-01-26 22:36:55 +0000
committerBodo Möller <bodo@openssl.org>2000-01-26 22:36:55 +0000
commit52732b38da995490fa33f8062a25d37cd7e7abcc (patch)
treec3d0df61bde15db39ddec86dfc9774644fc47fea /ssl/s3_both.c
parentada3cc4a8fb407c3ea6c399de03fd7e1084ae6c3 (diff)
Some comments added, and slight code clean-ups.
Diffstat (limited to 'ssl/s3_both.c')
-rw-r--r--ssl/s3_both.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ssl/s3_both.c b/ssl/s3_both.c
index bbe9aa7423..9b6766322e 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;