BIND 10 #782: Implement cryptographic API using Botan
BIND 10 Development
do-not-reply at isc.org
Thu May 12 07:53:23 UTC 2011
#782: Implement cryptographic API using Botan
-------------------------------------+-------------------------------------
Reporter: | Owner: hanfeng
stephen | Status: reviewing
Type: | Milestone:
enhancement | Sprint-20110517
Priority: major | Resolution:
Component: | Sensitive: 0
Unclassified | Sub-Project: DNS
Keywords: | Estimated Difficulty: 3.0
Defect Severity: N/A | Total Hours: 0
Feature Depending on Ticket: tsig |
Add Hours to Ticket: 0 |
Internal?: 0 |
-------------------------------------+-------------------------------------
Changes (by vorner):
* owner: vorner => hanfeng
Comment:
Hello
There are two problems:
* It doesn't compile, this is the error message:
{{{
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib
-I../../../src/lib -I../../../src/lib/dns -I../../../src/lib/dns
-I../../../src/lib/util -I../../../src/lib/util -I../../../ext/asio
-I../../../ext/coroutine -DASIO_DISABLE_THREADS=1 -Wall -Wextra -Wwrite-
strings -Woverloaded-virtual -Wno-sign-compare -Werror -fPIC -g -O0 -MT
libdns___la-rrparamregistry.lo -MD -MP -MF .deps/libdns___la-
rrparamregistry.Tpo -c rrparamregistry.cc -fPIC -DPIC -o .libs
/libdns___la-rrparamregistry.o
tsigkey.cc: In function ‘isc::cryptolink::HashAlgorithm
isc::dns::<unnamed>::convertAlgorithmName(const isc::dns::Name&)’:
tsigkey.cc:45:21: error: ‘HMACSHA224_NAME’ is not a member of
‘isc::dns::TSIGKey’
tsigkey.cc:48:21: error: ‘HMACSHA384_NAME’ is not a member of
‘isc::dns::TSIGKey’
tsigkey.cc:51:21: error: ‘HMACSHA512_NAME’ is not a member of
‘isc::dns::TSIGKey’
tsigkey.cc: At global scope:
tsigkey.cc:209:32: error: no ‘const isc::dns::Name&
isc::dns::TSIGKey::HMACSHA224_NAME()’ member function declared in class
‘isc::dns::TSIGKey’
tsigkey.cc:215:32: error: no ‘const isc::dns::Name&
isc::dns::TSIGKey::HMACSHA384_NAME()’ member function declared in class
‘isc::dns::TSIGKey’
tsigkey.cc:221:32: error: no ‘const isc::dns::Name&
isc::dns::TSIGKey::HMACSHA512_NAME()’ member function declared in class
‘isc::dns::TSIGKey’
make[6]: *** [libdns___la-tsigkey.lo] Error 1
make[6]: *** Waiting for unfinished jobs....
}}}
It looks like you forgot to commit/push the changes in tsigkey.h
* There are bindings for this in lib/dns/python/tsigkey.cc and they need
the algorithm names added as well.
Thanks
--
Ticket URL: <http://bind10.isc.org/ticket/782#comment:16>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list