diff options
author | Daniel Mack <github@zonque.org> | 2016-03-29 10:35:07 +0200 |
---|---|---|
committer | Daniel Mack <github@zonque.org> | 2016-03-29 10:35:07 +0200 |
commit | 86a42315536d865bbde5d04414a9764090437cc0 (patch) | |
tree | b2bc463b1af0915df499baac9dca7b845e28d563 /src/resolve | |
parent | 038e2619110d741e295a46550d4d80cf1c431f99 (diff) | |
parent | b68f10bf1f7519e012da5e35fab3a57da7dc46d4 (diff) |
Merge pull request #2905 from keszybz/gcrypt-compilation
build-sys: fix build with libgrcypt disabled
Diffstat (limited to 'src/resolve')
-rw-r--r-- | src/resolve/resolve-tool.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/resolve/resolve-tool.c b/src/resolve/resolve-tool.c index 009cc73aec..14ee01c49d 100644 --- a/src/resolve/resolve-tool.c +++ b/src/resolve/resolve-tool.c @@ -17,7 +17,6 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ -#include <gcrypt.h> #include <getopt.h> #include <net/if.h> @@ -863,7 +862,7 @@ static int resolve_openpgp(sd_bus *bus, const char *address) { } domain++; - r = string_hashsum(address, domain - 1 - address, GCRY_MD_SHA224, &hashed); + r = string_hashsum_sha224(address, domain - 1 - address, &hashed); if (r < 0) return log_error_errno(r, "Hashing failed: %m"); |