Lines Matching defs:querytsig

683 	dns_rdata_any_tsig_t tsig, querytsig;
706 if (response && msg->querytsig == NULL)
762 ret = dns_rdataset_first(msg->querytsig);
765 dns_rdataset_current(msg->querytsig, &querytsigrdata);
766 ret = dns_rdata_tostruct(&querytsigrdata, &querytsig,
770 isc_buffer_putuint16(&databuf, querytsig.siglen);
772 querytsig.siglen) {
776 isc_buffer_putmem(&databuf, querytsig.signature,
777 querytsig.siglen);
788 else memset(&querytsig, 0, sizeof(querytsig));
837 tsig.timesigned = querytsig.timesigned;
888 if (response && bytes < querytsig.siglen)
889 bytes = querytsig.siglen;
974 dns_rdata_any_tsig_t tsig, querytsig;
1002 if (tsigkey == NULL || msg->querytsig == NULL)
1017 if (response && (tsigkey == NULL || msg->querytsig == NULL))
1037 ret = dns_rdataset_first(msg->querytsig);
1040 dns_rdataset_current(msg->querytsig, &rdata);
1041 ret = dns_rdata_tostruct(&rdata, &querytsig, NULL);
1050 else memset(&querytsig, 0, sizeof(querytsig));
1058 !dns_name_equal(&tsig.algorithm, &querytsig.algorithm))) {
1157 isc_buffer_putuint16(&databuf, querytsig.siglen);
1162 if (querytsig.siglen > 0) {
1163 r.length = querytsig.siglen;
1164 r.base = querytsig.signature;
1292 dns_rdata_any_tsig_t tsig, querytsig;
1311 REQUIRE(msg->querytsig != NULL);
1323 ret = dns_rdataset_first(msg->querytsig);
1326 dns_rdataset_current(msg->querytsig, &rdata);
1327 ret = dns_rdata_tostruct(&rdata, &querytsig, NULL);
1351 !dns_name_equal(&tsig.algorithm, &querytsig.algorithm)) {
1392 isc_buffer_putuint16(&databuf, querytsig.siglen);
1401 if (querytsig.siglen > 0) {
1402 r.length = querytsig.siglen;
1403 r.base = querytsig.signature;
1506 dns_rdata_freestruct(&querytsig);