summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2019-01-20 23:11:11 +0000
committerdjm <djm@openbsd.org>2019-01-20 23:11:11 +0000
commit06b3a9a150150a77b4b4ae641b3e7282712283cf (patch)
tree883942983af77bf210c6b8acf6752266b9d7ee34
parentuse OpenSSL's RSA reference counting hooks to implicitly clean up (diff)
downloadwireguard-openbsd-06b3a9a150150a77b4b4ae641b3e7282712283cf.tar.xz
wireguard-openbsd-06b3a9a150150a77b4b4ae641b3e7282712283cf.zip
KNF previous; from markus@
-rw-r--r--usr.bin/ssh/ssh-pkcs11.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/ssh/ssh-pkcs11.c b/usr.bin/ssh/ssh-pkcs11.c
index dd66b3a3d95..90b94a7e6f1 100644
--- a/usr.bin/ssh/ssh-pkcs11.c
+++ b/usr.bin/ssh/ssh-pkcs11.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-pkcs11.c,v 1.34 2019/01/20 23:10:33 djm Exp $ */
+/* $OpenBSD: ssh-pkcs11.c,v 1.35 2019/01/20 23:11:11 djm Exp $ */
/*
* Copyright (c) 2010 Markus Friedl. All rights reserved.
* Copyright (c) 2014 Pedro Martelletto. All rights reserved.
@@ -74,11 +74,11 @@ int pkcs11_interactive = 0;
static void
ossl_error(const char *msg)
{
- unsigned long e;
+ unsigned long e;
- while ((e = ERR_get_error()) != 0)
- error("%s: %s: %.100s", __func__, msg,
- ERR_error_string(e, NULL));
+ while ((e = ERR_get_error()) != 0)
+ error("%s: %s: %.100s", __func__, msg,
+ ERR_error_string(e, NULL));
}
#endif
@@ -1242,7 +1242,7 @@ static struct ec_curve_info {
{"prime256v1", "1.2.840.10045.3.1.7", "06082A8648CE3D030107", 256},
{"secp384r1", "1.3.132.0.34", "06052B81040022", 384},
{"secp521r1", "1.3.132.0.35", "06052B81040023", 521},
- {NULL, NULL, NULL, 0},
+ {NULL, NULL, NULL, 0},
};
static struct sshkey *