summaryrefslogtreecommitdiffstats
path: root/ssl/s2_lib.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2005-03-30 10:26:02 +0000
committerBen Laurie <ben@openssl.org>2005-03-30 10:26:02 +0000
commit0821bcd4de85b527281714dd6c4d9683f0e713c4 (patch)
tree8d66175c3c89866d3f4fab0d49c9171e732c1bb7 /ssl/s2_lib.c
parent4a6a2032edde65f180a794665adf82c0cc4cd9d1 (diff)
Constification.
Diffstat (limited to 'ssl/s2_lib.c')
-rw-r--r--ssl/s2_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s2_lib.c b/ssl/s2_lib.c
index 075e49dc83..b89b83f4f8 100644
--- a/ssl/s2_lib.c
+++ b/ssl/s2_lib.c
@@ -262,7 +262,7 @@ SSL_CIPHER *ssl2_get_cipher(unsigned int u)
return(NULL);
}
-int ssl2_pending(SSL *s)
+int ssl2_pending(const SSL *s)
{
return SSL_in_init(s) ? 0 : s->s2->ract_data_length;
}