summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio
diff options
context:
space:
mode:
authortedu <>2014-05-30 03:31:29 +0000
committertedu <>2014-05-30 03:31:29 +0000
commiteabe480fe28b41eb99034e3189aa5158a1cc815d (patch)
tree666d68fd1404009d15c35763c054b7bab94ac8b4 /src/lib/libcrypto/bio
parent9598b4272312fc9b55154e675c1adb3a21b491b3 (diff)
downloadopenbsd-eabe480fe28b41eb99034e3189aa5158a1cc815d.tar.gz
openbsd-eabe480fe28b41eb99034e3189aa5158a1cc815d.tar.bz2
openbsd-eabe480fe28b41eb99034e3189aa5158a1cc815d.zip
remove CONST_STRICT. ok beck deraadt
Diffstat (limited to 'src/lib/libcrypto/bio')
-rw-r--r--src/lib/libcrypto/bio/bio.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/lib/libcrypto/bio/bio.h b/src/lib/libcrypto/bio/bio.h
index 6809b70e9d..43562d4872 100644
--- a/src/lib/libcrypto/bio/bio.h
+++ b/src/lib/libcrypto/bio/bio.h
@@ -499,15 +499,8 @@ struct bio_dgram_sctp_prinfo {
499 499
500/* name is cast to lose const, but might be better to route through a function 500/* name is cast to lose const, but might be better to route through a function
501 so we can do it safely */ 501 so we can do it safely */
502#ifdef CONST_STRICT
503/* If you are wondering why this isn't defined, its because CONST_STRICT is
504 * purely a compile-time kludge to allow const to be checked.
505 */
506int BIO_read_filename(BIO *b, const char *name);
507#else
508#define BIO_read_filename(b,name) BIO_ctrl(b,BIO_C_SET_FILENAME, \ 502#define BIO_read_filename(b,name) BIO_ctrl(b,BIO_C_SET_FILENAME, \
509 BIO_CLOSE|BIO_FP_READ,(char *)name) 503 BIO_CLOSE|BIO_FP_READ,(char *)name)
510#endif
511#define BIO_write_filename(b,name) BIO_ctrl(b,BIO_C_SET_FILENAME, \ 504#define BIO_write_filename(b,name) BIO_ctrl(b,BIO_C_SET_FILENAME, \
512 BIO_CLOSE|BIO_FP_WRITE,name) 505 BIO_CLOSE|BIO_FP_WRITE,name)
513#define BIO_append_filename(b,name) BIO_ctrl(b,BIO_C_SET_FILENAME, \ 506#define BIO_append_filename(b,name) BIO_ctrl(b,BIO_C_SET_FILENAME, \