summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio/bss_acpt.c
diff options
context:
space:
mode:
authortb <>2018-05-12 18:51:59 +0000
committertb <>2018-05-12 18:51:59 +0000
commit1f5db40c0572d1f35b285265441091873a7f8c7f (patch)
tree5f970340a82f0750b045fd9489efa2e59be63789 /src/lib/libcrypto/bio/bss_acpt.c
parent31d743443e7e064d16f4ba3a739b7c5a6b6361f0 (diff)
downloadopenbsd-1f5db40c0572d1f35b285265441091873a7f8c7f.tar.gz
openbsd-1f5db40c0572d1f35b285265441091873a7f8c7f.tar.bz2
openbsd-1f5db40c0572d1f35b285265441091873a7f8c7f.zip
const qualifiers for BIO_new_mem_buf(), BIO_new_connect() and
BIO_new_accept(). The one for BIO_new_mem_buf() is a bit ugly since it needs to cast away the newly added const qualifier, as in OpenSSL commit 8ab31975bac. ok jsing
Diffstat (limited to 'src/lib/libcrypto/bio/bss_acpt.c')
-rw-r--r--src/lib/libcrypto/bio/bss_acpt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bio/bss_acpt.c b/src/lib/libcrypto/bio/bss_acpt.c
index b270199da1..c95ddde7bb 100644
--- a/src/lib/libcrypto/bio/bss_acpt.c
+++ b/src/lib/libcrypto/bio/bss_acpt.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bss_acpt.c,v 1.28 2018/05/01 13:29:09 tb Exp $ */ 1/* $OpenBSD: bss_acpt.c,v 1.29 2018/05/12 18:51:59 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -436,7 +436,7 @@ acpt_puts(BIO *bp, const char *str)
436} 436}
437 437
438BIO * 438BIO *
439BIO_new_accept(char *str) 439BIO_new_accept(const char *str)
440{ 440{
441 BIO *ret; 441 BIO *ret;
442 442