Commit 2bf34129 authored by Jelte Jansen's avatar Jelte Jansen
Browse files

add include and boost:: namespace for lexical_cast


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@734 e5f2f494-b856-4b98-b285-d166d9295462
parent 1675d4a7
......@@ -26,6 +26,7 @@
#include "rrttl.h"
#include "rdata.h"
#include "rdataclass.h"
#include <boost/lexical_cast.hpp>
using namespace std;
......@@ -139,12 +140,12 @@ string
RRSIG::toText() const
{
return (impl_->covered_.toText() +
" " + lexical_cast<string>(static_cast<int>(impl_->algorithm_))
+ " " + lexical_cast<string>(static_cast<int>(impl_->labels_))
+ " " + lexical_cast<string>(impl_->originalttl_)
+ " " + lexical_cast<string>(impl_->timeexpire_)
+ " " + lexical_cast<string>(impl_->timeinception_)
+ " " + lexical_cast<string>(impl_->keyid_)
" " + boost::lexical_cast<string>(static_cast<int>(impl_->algorithm_))
+ " " + boost::lexical_cast<string>(static_cast<int>(impl_->labels_))
+ " " + boost::lexical_cast<string>(impl_->originalttl_)
+ " " + boost::lexical_cast<string>(impl_->timeexpire_)
+ " " + boost::lexical_cast<string>(impl_->timeinception_)
+ " " + boost::lexical_cast<string>(impl_->keyid_)
+ " " + impl_->signer_.toText()
+ " " + encodeBase64(impl_->signature_));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment