From: Kees Monshouwer Date: Tue, 10 Jan 2017 21:50:12 +0000 (+0100) Subject: hook up ed25519 signer in the recursor X-Git-Tag: rec-4.1.0-alpha1~279^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1b28475acae46cf39d2a883791953910b89ea67;p=thirdparty%2Fpdns.git hook up ed25519 signer in the recursor --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index bd79bb4a27..000f5c1d30 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -33,6 +33,9 @@ #include "recpacketcache.hh" #include "utility.hh" #include "dns_random.hh" +#ifdef HAVE_LIBSODIUM +#include +#endif #include "opensslsigners.hh" #include #include @@ -2805,6 +2808,13 @@ int serviceMain(int argc, char*argv[]) g_maxMThreads = ::arg().asNum("max-mthreads"); checkOrFixFDS(); +#ifdef HAVE_LIBSODIUM + if (sodium_init() == -1) { + L<