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/35153cc49d1c
branches:  trunk
changeset: 985755:35153cc49d1c
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 477b237e2f23 -r 35153cc49d1c 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