Merge branch 'latestw' into latestw_all
This commit is contained in:
commit
f122ab210a
3
INSTALL
3
INSTALL
|
@ -1,3 +1,4 @@
|
||||||
|
1. Prerequisites
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
A C compiler. Any C89 or better compiler should work. Where supported,
|
A C compiler. Any C89 or better compiler should work. Where supported,
|
||||||
|
@ -231,7 +232,7 @@ manually using the following commands:
|
||||||
|
|
||||||
ssh-keygen -t [type] -f /etc/ssh/ssh_host_key -N ""
|
ssh-keygen -t [type] -f /etc/ssh/ssh_host_key -N ""
|
||||||
|
|
||||||
for each of the types you wish to generate (rsa, dsa or ecdsaa) or
|
for each of the types you wish to generate (rsa, dsa or ecdsa) or
|
||||||
|
|
||||||
ssh-keygen -A
|
ssh-keygen -A
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $OpenBSD: auth2-pubkey.c,v 1.60 2016/11/30 02:57:40 djm Exp $ */
|
/* $OpenBSD: auth2-pubkey.c,v 1.61 2016/12/30 22:08:02 djm Exp $ */
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2000 Markus Friedl. All rights reserved.
|
* Copyright (c) 2000 Markus Friedl. All rights reserved.
|
||||||
*
|
*
|
||||||
|
@ -783,6 +783,9 @@ match_principals_command(struct passwd *user_pw, const struct sshkey *key)
|
||||||
|
|
||||||
ok = process_principals(f, NULL, pw, cert);
|
ok = process_principals(f, NULL, pw, cert);
|
||||||
|
|
||||||
|
fclose(f);
|
||||||
|
f = NULL;
|
||||||
|
|
||||||
if (exited_cleanly(pid, "AuthorizedPrincipalsCommand", command) != 0)
|
if (exited_cleanly(pid, "AuthorizedPrincipalsCommand", command) != 0)
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
|
@ -1106,6 +1109,9 @@ user_key_command_allowed2(struct passwd *user_pw, Key *key)
|
||||||
|
|
||||||
ok = check_authkeys_file(f, options.authorized_keys_command, key, pw);
|
ok = check_authkeys_file(f, options.authorized_keys_command, key, pw);
|
||||||
|
|
||||||
|
fclose(f);
|
||||||
|
f = NULL;
|
||||||
|
|
||||||
if (exited_cleanly(pid, "AuthorizedKeysCommand", command) != 0)
|
if (exited_cleanly(pid, "AuthorizedKeysCommand", command) != 0)
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $OpenBSD: sftp-client.c,v 1.125 2016/09/12 01:22:38 deraadt Exp $ */
|
/* $OpenBSD: sftp-client.c,v 1.126 2017/01/03 05:46:51 djm Exp $ */
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
|
* Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
|
||||||
*
|
*
|
||||||
|
@ -587,6 +587,8 @@ do_lsreaddir(struct sftp_conn *conn, const char *path, int print_flag,
|
||||||
|
|
||||||
if ((r = sshbuf_get_u32(msg, &count)) != 0)
|
if ((r = sshbuf_get_u32(msg, &count)) != 0)
|
||||||
fatal("%s: buffer error: %s", __func__, ssh_err(r));
|
fatal("%s: buffer error: %s", __func__, ssh_err(r));
|
||||||
|
if (count > SSHBUF_SIZE_MAX)
|
||||||
|
fatal("%s: nonsensical number of entries", __func__);
|
||||||
if (count == 0)
|
if (count == 0)
|
||||||
break;
|
break;
|
||||||
debug3("Received %d SSH2_FXP_NAME responses", count);
|
debug3("Received %d SSH2_FXP_NAME responses", count);
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $OpenBSD: ssh-agent.c,v 1.215 2016/11/30 03:07:37 djm Exp $ */
|
/* $OpenBSD: ssh-agent.c,v 1.216 2017/01/04 02:21:43 djm Exp $ */
|
||||||
/*
|
/*
|
||||||
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
||||||
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
||||||
|
@ -89,7 +89,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef DEFAULT_PKCS11_WHITELIST
|
#ifndef DEFAULT_PKCS11_WHITELIST
|
||||||
# define DEFAULT_PKCS11_WHITELIST "/usr/lib/*,/usr/local/lib/*"
|
# define DEFAULT_PKCS11_WHITELIST "/usr/lib*/*,/usr/local/lib*/*"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
|
|
Loading…
Reference in New Issue