resolved: fix libgcrypt error checking
authorLennart Poettering <lennart@poettering.net>
Wed, 9 Dec 2015 16:40:32 +0000 (17:40 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 10 Dec 2015 10:28:02 +0000 (11:28 +0100)
commitd12bf2bdff8d616b7e59fc480c7e610003b494df
treeaf0db519cbf272bc2f4454910ed9ff60e545e728
parentd28ac939c131ce9de2bb4bfcb621e4f969f42c96
resolved: fix libgcrypt error checking

libgcrypt encodes the error source in the error code, we need to mask
that away before comparing error codes.
src/resolve/resolved-dns-dnssec.c