Module Name: src
Committed By: ryoon
Date: Mon Sep 6 13:11:34 UTC 2021
Modified Files:
src/crypto/external/bsd/openssh/dist: dns.c
Log Message:
Make no diff to upstream
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/crypto/external/bsd/openssh/dist/dns.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/crypto/external/bsd/openssh/dist/dns.c
diff -u src/crypto/external/bsd/openssh/dist/dns.c:1.20 src/crypto/external/bsd/openssh/dist/dns.c:1.21
--- src/crypto/external/bsd/openssh/dist/dns.c:1.20 Sat Sep 4 01:47:47 2021
+++ src/crypto/external/bsd/openssh/dist/dns.c Mon Sep 6 13:11:34 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: dns.c,v 1.20 2021/09/04 01:47:47 ryoon Exp $ */
+/* $NetBSD: dns.c,v 1.21 2021/09/06 13:11:34 ryoon Exp $ */
/* $OpenBSD: dns.c,v 1.41 2021/07/19 03:13:28 dtucker Exp $ */
/*
@@ -27,7 +27,7 @@
*/
#include "includes.h"
-__RCSID("$NetBSD: dns.c,v 1.20 2021/09/04 01:47:47 ryoon Exp $");
+__RCSID("$NetBSD: dns.c,v 1.21 2021/09/06 13:11:34 ryoon Exp $");
#include <sys/types.h>
#include <sys/socket.h>
@@ -267,7 +267,7 @@ verify_host_key_dns(const char *hostname
/* Check if the current key is the same as the given key */
if (hostkey_algorithm == dnskey_algorithm &&
hostkey_digest_len == dnskey_digest_len) {
- if (!consttime_memequal(hostkey_digest, dnskey_digest,
+ if (timingsafe_bcmp(hostkey_digest, dnskey_digest,
hostkey_digest_len) == 0) {
debug_f("matched SSHFP type %d fptype %d",
dnskey_algorithm, dnskey_digest_type);