summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2019-05-20 00:25:55 +0000
committerdjm <djm@openbsd.org>2019-05-20 00:25:55 +0000
commita72a5148015f881edba87d4e57bedb1f2d8d29b0 (patch)
treeba5682b6c6a6c213480d0b31e782a3517f7e7255
parentWhen signing certificates with an RSA key, default to using the (diff)
downloadwireguard-openbsd-a72a5148015f881edba87d4e57bedb1f2d8d29b0.tar.xz
wireguard-openbsd-a72a5148015f881edba87d4e57bedb1f2d8d29b0.zip
embiggen format buffer size for certificate serial number so
that it will fit a full 64 bit integer. bz#3012 from Manoel Domingues Junior
-rw-r--r--usr.bin/ssh/auth2-pubkey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/auth2-pubkey.c b/usr.bin/ssh/auth2-pubkey.c
index ec1cdb946d1..e628a4eebbd 100644
--- a/usr.bin/ssh/auth2-pubkey.c
+++ b/usr.bin/ssh/auth2-pubkey.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth2-pubkey.c,v 1.87 2019/01/22 11:26:16 djm Exp $ */
+/* $OpenBSD: auth2-pubkey.c,v 1.88 2019/05/20 00:25:55 djm Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
*
@@ -415,7 +415,7 @@ match_principals_command(struct ssh *ssh, struct passwd *user_pw,
pid_t pid;
char *tmp, *username = NULL, *command = NULL, **av = NULL;
char *ca_fp = NULL, *key_fp = NULL, *catext = NULL, *keytext = NULL;
- char serial_s[16], uidstr[32];
+ char serial_s[32], uidstr[32];
void (*osigchld)(int);
if (authoptsp != NULL)