summaryrefslogtreecommitdiff
path: root/auth2-pubkey.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2019-05-20 00:25:55 +0000
committerDamien Miller <djm@mindrot.org>2019-05-20 10:27:44 +1000
commit30615295609f5c57b3137b3021fe63bfa45c1985 (patch)
tree496e641d9dbd17dde13ed90869d1f9c57c3a1c69 /auth2-pubkey.c
parent476e3551b2952ef73acc43d995e832539bf9bc4d (diff)
upstream: embiggen format buffer size for certificate serial number so
that it will fit a full 64 bit integer. bz#3012 from Manoel Domingues Junior OpenBSD-Commit-ID: a51f3013056d05b976e5af6b978dcb9e27bbc12b
Diffstat (limited to 'auth2-pubkey.c')
-rw-r--r--auth2-pubkey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth2-pubkey.c b/auth2-pubkey.c
index 0b3975a74..3422b518b 100644
--- a/auth2-pubkey.c
+++ b/auth2-pubkey.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth2-pubkey.c,v 1.87 2019/01/22 11:26:16 djm Exp $ */ 1/* $OpenBSD: auth2-pubkey.c,v 1.88 2019/05/20 00:25:55 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000 Markus Friedl. All rights reserved.
4 * 4 *
@@ -418,7 +418,7 @@ match_principals_command(struct ssh *ssh, struct passwd *user_pw,
418 pid_t pid; 418 pid_t pid;
419 char *tmp, *username = NULL, *command = NULL, **av = NULL; 419 char *tmp, *username = NULL, *command = NULL, **av = NULL;
420 char *ca_fp = NULL, *key_fp = NULL, *catext = NULL, *keytext = NULL; 420 char *ca_fp = NULL, *key_fp = NULL, *catext = NULL, *keytext = NULL;
421 char serial_s[16], uidstr[32]; 421 char serial_s[32], uidstr[32];
422 void (*osigchld)(int); 422 void (*osigchld)(int);
423 423
424 if (authoptsp != NULL) 424 if (authoptsp != NULL)