summaryrefslogtreecommitdiffstats
path: root/ssl/s2_lib.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2000-11-28 06:58:22 +0000
committerBodo Möller <bodo@openssl.org>2000-11-28 06:58:22 +0000
commit24b44446e20b3e80999b18fd4f76316f7220b5cd (patch)
tree51302d4b691491cb10a9543733f5b09ebb1277c3 /ssl/s2_lib.c
parent87739b2c53238f7185ab476b020183da35feb899 (diff)
Comments on SSL_peek deficiencies
Diffstat (limited to 'ssl/s2_lib.c')
-rw-r--r--ssl/s2_lib.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ssl/s2_lib.c b/ssl/s2_lib.c
index 129ed89d97..a6f4db36c0 100644
--- a/ssl/s2_lib.c
+++ b/ssl/s2_lib.c
@@ -260,6 +260,9 @@ SSL_CIPHER *ssl2_get_cipher(unsigned int u)
int ssl2_pending(SSL *s)
{
+ /* Unlike ssl2_pending, this one probably works (if read-ahead
+ * is disabled), but it should be examined
+ * XXX */
return(s->s2->ract_data_length);
}