diff options
author | 2014-10-05 15:21:48 +0000 | |
---|---|---|
committer | 2014-10-05 15:21:48 +0000 | |
commit | 7fc050cb5bec24bbd26ad1ef7c2fcf2e55f91d5c (patch) | |
tree | 9838e186a8e5eba0f174385fd07d2a2d5f0914b1 /lib/libssl/src | |
parent | Use more specific curves/formats naming for local variables in (diff) | |
download | wireguard-openbsd-7fc050cb5bec24bbd26ad1ef7c2fcf2e55f91d5c.tar.xz wireguard-openbsd-7fc050cb5bec24bbd26ad1ef7c2fcf2e55f91d5c.zip |
compile with c89 (code / decl ordering); from Joakim.Tjernlund@transmode.se
ok miod
Diffstat (limited to 'lib/libssl/src')
-rw-r--r-- | lib/libssl/src/crypto/err/err.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libssl/src/crypto/err/err.c b/lib/libssl/src/crypto/err/err.c index 0802249da45..75a1d0181e6 100644 --- a/lib/libssl/src/crypto/err/err.c +++ b/lib/libssl/src/crypto/err/err.c @@ -1,4 +1,4 @@ -/* $OpenBSD: err.c,v 1.39 2014/08/24 16:11:39 bcook Exp $ */ +/* $OpenBSD: err.c,v 1.40 2014/10/05 15:21:48 deraadt Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -1105,8 +1105,9 @@ ERR_add_error_vdata(int num, va_list args) { char format[129]; char *errbuf; - format[0] = '\0'; int i; + + format[0] = '\0'; for (i = 0; i < num; i++) { if (strlcat(format, "%s", sizeof(format)) >= sizeof(format)) { ERR_set_error_data("too many errors", ERR_TXT_STRING); |