mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fixup const void cast warning.
git-svn-id: file:///svn/unbound/trunk@3883 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
dd2711d78c
commit
223c7c0080
2 changed files with 2 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
17 October 2016: Wouter
|
||||
- Re-fix #839 from view commit overwrite.
|
||||
- Fixup const void cast warning.
|
||||
|
||||
12 October 2016: Ralph
|
||||
- Free view config elements.
|
||||
|
|
|
|||
|
|
@ -420,7 +420,7 @@ read_builtin_cert(void)
|
|||
{
|
||||
const char* builtin_cert = get_builtin_cert();
|
||||
STACK_OF(X509)* sk;
|
||||
BIO *bio = BIO_new_mem_buf(builtin_cert,
|
||||
BIO *bio = BIO_new_mem_buf((const void*)builtin_cert,
|
||||
(int)strlen(builtin_cert));
|
||||
if(!bio) {
|
||||
if(verb) printf("out of memory\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue