summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_txt.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/ssl_txt.c
parent4a6a2032edde65f180a794665adf82c0cc4cd9d1 (diff)
Constification.
Diffstat (limited to 'ssl/ssl_txt.c')
-rw-r--r--ssl/ssl_txt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/ssl_txt.c b/ssl/ssl_txt.c
index faea41caa0..fd0c55c127 100644
--- a/ssl/ssl_txt.c
+++ b/ssl/ssl_txt.c
@@ -61,7 +61,7 @@
#include "ssl_locl.h"
#ifndef OPENSSL_NO_FP_API
-int SSL_SESSION_print_fp(FILE *fp, SSL_SESSION *x)
+int SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *x)
{
BIO *b;
int ret;
@@ -78,7 +78,7 @@ int SSL_SESSION_print_fp(FILE *fp, SSL_SESSION *x)
}
#endif
-int SSL_SESSION_print(BIO *bp, SSL_SESSION *x)
+int SSL_SESSION_print(BIO *bp, const SSL_SESSION *x)
{
unsigned int i;
const char *s;