From c45a48c186931954918178830653e5f110aa7dc6 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Mon, 7 Oct 2013 12:41:43 +0100 Subject: Constification. --- crypto/bio/bio.h | 4 ++-- crypto/bio/bss_acpt.c | 2 +- crypto/bio/bss_conn.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'crypto/bio') 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; -- cgit v1.2.3