diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2014-05-30 03:31:30 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2014-05-30 03:31:30 +0000 |
commit | 76cbe72b07ef459cb652f5b2c2262fb5cd374a36 (patch) | |
tree | 902c91058b572b8e20f94f4838619249ce442e80 /lib/libcrypto/bio | |
parent | 890019d42bea9ea72b2a114957766c9c1b3cb7e3 (diff) |
remove CONST_STRICT. ok beck deraadt
Diffstat (limited to 'lib/libcrypto/bio')
-rw-r--r-- | lib/libcrypto/bio/bio.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/libcrypto/bio/bio.h b/lib/libcrypto/bio/bio.h index 6809b70e9da..43562d4872d 100644 --- a/lib/libcrypto/bio/bio.h +++ b/lib/libcrypto/bio/bio.h @@ -499,15 +499,8 @@ struct bio_dgram_sctp_prinfo { /* name is cast to lose const, but might be better to route through a function so we can do it safely */ -#ifdef CONST_STRICT -/* If you are wondering why this isn't defined, its because CONST_STRICT is - * purely a compile-time kludge to allow const to be checked. - */ -int BIO_read_filename(BIO *b, const char *name); -#else #define BIO_read_filename(b,name) BIO_ctrl(b,BIO_C_SET_FILENAME, \ BIO_CLOSE|BIO_FP_READ,(char *)name) -#endif #define BIO_write_filename(b,name) BIO_ctrl(b,BIO_C_SET_FILENAME, \ BIO_CLOSE|BIO_FP_WRITE,name) #define BIO_append_filename(b,name) BIO_ctrl(b,BIO_C_SET_FILENAME, \ |