summaryrefslogtreecommitdiffstats
path: root/crypto/bio
diff options
context:
space:
mode:
authorBen Laurie <ben@links.org>2013-10-07 12:41:43 +0100
committerBen Laurie <ben@links.org>2013-10-07 12:45:26 +0100
commitc45a48c186931954918178830653e5f110aa7dc6 (patch)
treeff8775ca2d9cdf06ee85a6c75353ecc077b4447c /crypto/bio
parent6f6a6130327bb033730bf36ad826797a1b074317 (diff)
Constification.
Diffstat (limited to 'crypto/bio')
-rw-r--r--crypto/bio/bio.h4
-rw-r--r--crypto/bio/bss_acpt.c2
-rw-r--r--crypto/bio/bss_conn.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/crypto/bio/bio.h b/crypto/bio/bio.h
index d32bf7f7a2..c14009ad0d 100644
--- a/crypto/bio/bio.h
+++ b/crypto/bio/bio.h
@@ -739,8 +739,8 @@ int BIO_dgram_sctp_wait_for_dry(BIO *b);
int BIO_dgram_sctp_msg_waiting(BIO *b);
#endif
BIO *BIO_new_fd(int fd, int close_flag);
-BIO *BIO_new_connect(char *host_port);
-BIO *BIO_new_accept(char *host_port);
+BIO *BIO_new_connect(const char *host_port);
+BIO *BIO_new_accept(const char *host_port);
int BIO_new_bio_pair(BIO **bio1, size_t writebuf1,
BIO **bio2, size_t writebuf2);
diff --git a/crypto/bio/bss_acpt.c b/crypto/bio/bss_acpt.c
index 5d49e1a72b..4110ff1a45 100644
--- a/crypto/bio/bss_acpt.c
+++ b/crypto/bio/bss_acpt.c
@@ -460,7 +460,7 @@ static int acpt_puts(BIO *bp, const char *str)
return(ret);
}
-BIO *BIO_new_accept(char *str)
+BIO *BIO_new_accept(const char *str)
{
BIO *ret;
diff --git a/crypto/bio/bss_conn.c b/crypto/bio/bss_conn.c
index c14727855b..91e47e92eb 100644
--- a/crypto/bio/bss_conn.c
+++ b/crypto/bio/bss_conn.c
@@ -633,7 +633,7 @@ static int conn_puts(BIO *bp, const char *str)
return(ret);
}
-BIO *BIO_new_connect(char *str)
+BIO *BIO_new_connect(const char *str)
{
BIO *ret;