mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-24 00:29:58 -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
|
17 October 2016: Wouter
|
||||||
- Re-fix #839 from view commit overwrite.
|
- Re-fix #839 from view commit overwrite.
|
||||||
|
- Fixup const void cast warning.
|
||||||
|
|
||||||
12 October 2016: Ralph
|
12 October 2016: Ralph
|
||||||
- Free view config elements.
|
- Free view config elements.
|
||||||
|
|
|
||||||
|
|
@ -420,7 +420,7 @@ read_builtin_cert(void)
|
||||||
{
|
{
|
||||||
const char* builtin_cert = get_builtin_cert();
|
const char* builtin_cert = get_builtin_cert();
|
||||||
STACK_OF(X509)* sk;
|
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));
|
(int)strlen(builtin_cert));
|
||||||
if(!bio) {
|
if(!bio) {
|
||||||
if(verb) printf("out of memory\n");
|
if(verb) printf("out of memory\n");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue