Commit d97c4b79 authored by Lubos Slovak's avatar Lubos Slovak

Minor fixes.

parent 73f773ac
......@@ -135,6 +135,7 @@ libknot_la_SOURCES = \
libknot/edns.c \
libknot/libknot.h \
libknot/dname.h \
libknot/rdata.h \
libknot/rrset.h \
libknot/rrset.c \
libknot/nsec3.h \
......
/*!
* \file rrset.h
* \file rdata.h
*
* \author Lubos Slovak <lubos.slovak@nic.cz>
*
......
......@@ -467,7 +467,7 @@ int knot_tsig_sign(uint8_t *msg, size_t *msg_len,
/* Create rdata for TSIG RR. */
uint16_t rdata_rcode = 0;
if (rdata_rcode == KNOT_RCODE_BADTIME)
if (tsig_rcode == KNOT_RCODE_BADTIME)
rdata_rcode = tsig_rcode;
tsig_create_rdata(tmp_tsig, tsig_alg_to_dname(key->algorithm),
knot_tsig_digest_length(key->algorithm), rdata_rcode);
......
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