From: Peter van Dijk Date: Tue, 22 Dec 2015 15:44:04 +0000 (+0100) Subject: compile fixes X-Git-Tag: dnsdist-1.0.0-alpha1~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd39e2dca1b80dbb211e25fc148d17ce5eb999a4;p=thirdparty%2Fpdns.git compile fixes --- diff --git a/pdns/cryptoppsigners.cc b/pdns/cryptoppsigners.cc index 93497a861c..348ac81246 100644 --- a/pdns/cryptoppsigners.cc +++ b/pdns/cryptoppsigners.cc @@ -45,7 +45,7 @@ private: template void CryptoPPECDSADNSCryptoKeyEngine::create(unsigned int bits) { if(bits != BITS) - throw runtime_error("This CryptoPP class can only hosts keys of length "+to_string(BITS)); + throw runtime_error("This CryptoPP class can only hosts keys of length "+std::to_string(BITS)); AutoSeededRandomPool prng; privatekey_t* privateKey = new privatekey_t(); CryptoPP::OID oid=CURVE(); @@ -68,7 +68,7 @@ DNSCryptoKeyEngine::storvector_t CryptoPPECDSADNSCryptoKeyEngine(strtol(parts[n*2].c_str(), 0, 16) + 16*strtol(parts[n*2+1].c_str(), 0, 16)); + std::to_string(strtol(parts[n*2].c_str(), 0, 16) + 16*strtol(parts[n*2+1].c_str(), 0, 16)); newquery.append(1,'.'); } newquery += "in-addr.arpa.";