diff options
Diffstat (limited to 'dns.c')
-rw-r--r-- | dns.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dns.c,v 1.37 2017/09/14 04:32:21 djm Exp $ */ | 1 | /* $OpenBSD: dns.c,v 1.38 2018/02/23 15:58:37 markus Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2003 Wesley Griffin. All rights reserved. | 4 | * Copyright (c) 2003 Wesley Griffin. All rights reserved. |
@@ -105,6 +105,11 @@ dns_read_key(u_int8_t *algorithm, u_int8_t *digest_type, | |||
105 | if (!*digest_type) | 105 | if (!*digest_type) |
106 | *digest_type = SSHFP_HASH_SHA256; | 106 | *digest_type = SSHFP_HASH_SHA256; |
107 | break; | 107 | break; |
108 | case KEY_XMSS: | ||
109 | *algorithm = SSHFP_KEY_XMSS; | ||
110 | if (!*digest_type) | ||
111 | *digest_type = SSHFP_HASH_SHA256; | ||
112 | break; | ||
108 | default: | 113 | default: |
109 | *algorithm = SSHFP_KEY_RESERVED; /* 0 */ | 114 | *algorithm = SSHFP_KEY_RESERVED; /* 0 */ |
110 | *digest_type = SSHFP_HASH_RESERVED; /* 0 */ | 115 | *digest_type = SSHFP_HASH_RESERVED; /* 0 */ |