mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-30 01:05:14 +02:00
- stevesk@cvs.openbsd.org 2005/10/13 19:13:41
[dns.c] unneeded #include, unused declaration, little knf; ok deraadt@
This commit is contained in:
parent
5f916c8f6c
commit
20afc24363
@ -27,6 +27,9 @@
|
|||||||
[gss-serv-krb5.c gss-serv.c]
|
[gss-serv-krb5.c gss-serv.c]
|
||||||
unused declarations; ok deraadt@
|
unused declarations; ok deraadt@
|
||||||
(id sync only for gss-serv-krb5.c)
|
(id sync only for gss-serv-krb5.c)
|
||||||
|
- stevesk@cvs.openbsd.org 2005/10/13 19:13:41
|
||||||
|
[dns.c]
|
||||||
|
unneeded #include, unused declaration, little knf; ok deraadt@
|
||||||
|
|
||||||
20051102
|
20051102
|
||||||
- (dtucker) [openbsd-compat/bsd-misc.c] Bug #1108: fix broken strdup().
|
- (dtucker) [openbsd-compat/bsd-misc.c] Bug #1108: fix broken strdup().
|
||||||
@ -3160,4 +3163,4 @@
|
|||||||
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
||||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.3932 2005/11/05 04:05:28 djm Exp $
|
$Id: ChangeLog,v 1.3933 2005/11/05 04:06:38 djm Exp $
|
||||||
|
8
dns.c
8
dns.c
@ -1,4 +1,4 @@
|
|||||||
/* $OpenBSD: dns.c,v 1.12 2005/06/17 02:44:32 djm Exp $ */
|
/* $OpenBSD: dns.c,v 1.13 2005/10/13 19:13:41 stevesk Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2003 Wesley Griffin. All rights reserved.
|
* Copyright (c) 2003 Wesley Griffin. All rights reserved.
|
||||||
@ -40,10 +40,8 @@
|
|||||||
#include "key.h"
|
#include "key.h"
|
||||||
#include "dns.h"
|
#include "dns.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "uuencode.h"
|
|
||||||
|
|
||||||
extern char *__progname;
|
RCSID("$OpenBSD: dns.c,v 1.13 2005/10/13 19:13:41 stevesk Exp $");
|
||||||
RCSID("$OpenBSD: dns.c,v 1.12 2005/06/17 02:44:32 djm Exp $");
|
|
||||||
|
|
||||||
#ifndef LWRES
|
#ifndef LWRES
|
||||||
static const char *errset_text[] = {
|
static const char *errset_text[] = {
|
||||||
@ -223,7 +221,7 @@ verify_host_key_dns(const char *hostname, struct sockaddr *address,
|
|||||||
if (fingerprints->rri_nrdatas)
|
if (fingerprints->rri_nrdatas)
|
||||||
*flags |= DNS_VERIFY_FOUND;
|
*flags |= DNS_VERIFY_FOUND;
|
||||||
|
|
||||||
for (counter = 0 ; counter < fingerprints->rri_nrdatas ; counter++) {
|
for (counter = 0; counter < fingerprints->rri_nrdatas; counter++) {
|
||||||
/*
|
/*
|
||||||
* Extract the key from the answer. Ignore any badly
|
* Extract the key from the answer. Ignore any badly
|
||||||
* formatted fingerprints.
|
* formatted fingerprints.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user