summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh-keysign.c
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2003-05-16 03:27:12 +0000
committerdjm <djm@openbsd.org>2003-05-16 03:27:12 +0000
commit93c38a727e66ff046c8c6b89f9fde2ac79f0e1be (patch)
tree9f4295cd035bc53bac0acc0dcb5457aacf4f1cd7 /usr.bin/ssh/ssh-keysign.c
parentUse 16bit alignment in addr_cmp() (not 32bit) so this has a chance (diff)
downloadwireguard-openbsd-93c38a727e66ff046c8c6b89f9fde2ac79f0e1be.tar.xz
wireguard-openbsd-93c38a727e66ff046c8c6b89f9fde2ac79f0e1be.zip
add AddressFamily option to ssh_config (like -4, -6 on commandline).
Portable bug #534; ok markus@
Diffstat (limited to 'usr.bin/ssh/ssh-keysign.c')
-rw-r--r--usr.bin/ssh/ssh-keysign.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh-keysign.c b/usr.bin/ssh/ssh-keysign.c
index 33977af665d..f50c3fb6bc4 100644
--- a/usr.bin/ssh/ssh-keysign.c
+++ b/usr.bin/ssh/ssh-keysign.c
@@ -22,7 +22,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "includes.h"
-RCSID("$OpenBSD: ssh-keysign.c,v 1.11 2003/04/02 14:36:26 markus Exp $");
+RCSID("$OpenBSD: ssh-keysign.c,v 1.12 2003/05/16 03:27:12 djm Exp $");
#include <openssl/evp.h>
#include <openssl/rand.h>
@@ -42,7 +42,9 @@ RCSID("$OpenBSD: ssh-keysign.c,v 1.11 2003/04/02 14:36:26 markus Exp $");
#include "pathnames.h"
#include "readconf.h"
-uid_t original_real_uid; /* XXX readconf.c needs this */
+/* XXX readconf.c needs these */
+uid_t original_real_uid;
+int IPv4or6;
static int
valid_request(struct passwd *pw, char *host, Key **ret, u_char *data,