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:44:40 +0100
commit1ebaf97c4402a58fc8c9d5feff9fcc06cfaf3d5f (patch)
tree8add243877a1313e6f76aca4904a61f2aadaea13 /crypto/bio
parentc8c6914aacb444caecab300769587c8f295285bc (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;