Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssh/dist Make no diff to upstream



details:   https://anonhg.NetBSD.org/src/rev/60af397532db
branches:  trunk
changeset: 1023411:60af397532db
user:      ryoon <ryoon%NetBSD.org@localhost>
date:      Mon Sep 06 13:11:34 2021 +0000

description:
Make no diff to upstream

diffstat:

 crypto/external/bsd/openssh/dist/dns.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ef53a35c9e0c -r 60af397532db crypto/external/bsd/openssh/dist/dns.c
--- a/crypto/external/bsd/openssh/dist/dns.c    Mon Sep 06 08:37:43 2021 +0000
+++ b/crypto/external/bsd/openssh/dist/dns.c    Mon Sep 06 13:11:34 2021 +0000
@@ -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 @@
                /* 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);



Home | Main Index | Thread Index | Old Index