Fixed TSIG check for multi-packet signatures.
Problem was the function is copied from another one which always decrements the arcount and trims the TSIG RR. But with aggregated responses, this should be stripped not from first, but from the packet actually containing the TSIG.
Showing
- src/libknot/nameserver/name-server.c 4 additions, 0 deletionssrc/libknot/nameserver/name-server.c
- src/libknot/tsig-op.c 22 additions, 13 deletionssrc/libknot/tsig-op.c
- src/libknot/tsig-op.h 13 additions, 0 deletionssrc/libknot/tsig-op.h
- src/libknot/updates/xfr-in.c 7 additions, 2 deletionssrc/libknot/updates/xfr-in.c
Loading
Please register or sign in to comment