summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-dnssec.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-12-27 12:58:37 +0100
committerLennart Poettering <lennart@poettering.net>2015-12-28 01:18:55 +0100
commitaf22c65b272f0e7a1c0518c222749f3c09d05438 (patch)
tree817937637b0af8355fa7484a95d640f66ceadc13 /src/resolve/resolved-dns-dnssec.c
parentad798a641a775e795dc32916d57a3d16cebc8a7d (diff)
resolved: add SHA384 digest support
Diffstat (limited to 'src/resolve/resolved-dns-dnssec.c')
-rw-r--r--src/resolve/resolved-dns-dnssec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resolve/resolved-dns-dnssec.c b/src/resolve/resolved-dns-dnssec.c
index a856f0717e..3ebaeba76e 100644
--- a/src/resolve/resolved-dns-dnssec.c
+++ b/src/resolve/resolved-dns-dnssec.c
@@ -742,6 +742,9 @@ static int digest_to_gcrypt(uint8_t algorithm) {
case DNSSEC_DIGEST_SHA256:
return GCRY_MD_SHA256;
+ case DNSSEC_DIGEST_SHA384:
+ return GCRY_MD_SHA384;
+
default:
return -EOPNOTSUPP;
}