freebsd-nq/usr.sbin/pkg
Bryan Drewery c2788c07bf Fix build with GCC.
BIO_new_mem_buf takes a void* buf, but internally it never modifies the
buf. It assigns the buffer to another pointer and then marks it as
read-only. So deconsting it should be safe here.

Also fix warning about 'buf' possibly being unused in parse_cert()

Approved by:	bapt
MFC after:	2 days
X-MFC-With:	r257147
2013-10-26 19:59:42 +00:00
..
config.c Support checking signature for pkg bootstrap. 2013-10-26 03:43:02 +00:00
config.h Support checking signature for pkg bootstrap. 2013-10-26 03:43:02 +00:00
dns_utils.c Fix build with gcc 2013-10-23 15:29:42 +00:00
dns_utils.h Improve SRV records support for the pkg(8) bootstrap: 2013-10-23 14:06:07 +00:00
elf_tables.h Cleanup elf macros 2013-09-11 06:42:55 +00:00
Makefile Link in libcrypto as well to fix build in some cases. 2013-10-26 13:38:49 +00:00
pkg.c Fix build with GCC. 2013-10-26 19:59:42 +00:00