search for: lookup_key_in_hostfile_by_typ

Displaying 3 results from an estimated 3 matches for "lookup_key_in_hostfile_by_typ".

2004 Oct 03
0
[patch] tell user about hosts with same key
...; + + if (cp2 < thishost + thishostlen) + *cp2 = '\0'; + + hostlist = add_host_to_hostlist(hostlist, cp); + cp = cp2 + 1; + } + } + } + + /* Clear variables and close the file. */ + fclose(f); + if (thishost != NULL) + free(thishost); + + return hostlist; +} + int lookup_key_in_hostfile_by_type(const char *filename, const char *host, int keytype, Key *found, int *numret) --- hostfile.h 2004/10/02 21:45:51 1.1 +++ hostfile.h 2004/10/02 21:56:52 @@ -18,11 +18,18 @@ HOST_OK, HOST_NEW, HOST_CHANGED, HOST_FOUND } HostStatus; +typedef struct HostList { + char *host; + struct Ho...
2005 Jul 07
0
openssh and nsswitch integration in FreeBSD
...f you wish. The idea is to replace system-wide known-hosts file with nsswitch source. After examining openssh port, I've found 2 basic functions, which handle the known-hosts files (hostfile.h): HostStatus check_host_in_hostfile(const char *, const char *, const Key *, Key *, int *); int lookup_key_in_hostfile_by_type(const char *, const char *, int, Key *, int *); As far as I know, all other routines, that deal with these files are seem to be built on top of these 2 functions. So I'd like to implement another 2 functions: HostStatus nsswitch_check_host(const char *, const Key *, Key *); int nsswitch...
2008 Apr 21
3
FIPS 140-2 OpenSSL(2007) patches
Hi, I am happy to (re)send a set of patches for compiling OpenSSH 4.7p1 with FIPS 140-2 OpenSSL. These are based on previously reported patches by Steve Marquess <marquess at ieee.org> and Ben Laurie <ben at algroup.co.uk>, for ver. OpenSSH 3.8. Note that these patches are NOT OFFICIAL, and MAY be used freely by anyone. Issues [partially] handled: SSL FIPS Self test. RC4,