summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2017-08-28 17:54:58 +0000
committerjsing <jsing@openbsd.org>2017-08-28 17:54:58 +0000
commit03b6db9536de24f03ae980a99df5057d1cf8eb22 (patch)
treea9bd9b670a50e8f4054109b71d72948ad49628b0
parentRemove chacha20-poly1305-old regress and test vectors. (diff)
downloadwireguard-openbsd-03b6db9536de24f03ae980a99df5057d1cf8eb22.tar.xz
wireguard-openbsd-03b6db9536de24f03ae980a99df5057d1cf8eb22.zip
Some style(9).
-rw-r--r--regress/lib/libcrypto/ocsp/ocsp_test.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/regress/lib/libcrypto/ocsp/ocsp_test.c b/regress/lib/libcrypto/ocsp/ocsp_test.c
index 44a5f1b0092..6adec688b60 100644
--- a/regress/lib/libcrypto/ocsp/ocsp_test.c
+++ b/regress/lib/libcrypto/ocsp/ocsp_test.c
@@ -8,7 +8,9 @@
#include <openssl/ssl.h>
#include <openssl/ocsp.h>
-static int tcp_connect(char *host, char *port) {
+static int
+tcp_connect(char *host, char *port)
+{
int error, sd = -1;
struct addrinfo hints, *res, *r;
@@ -38,7 +40,9 @@ static int tcp_connect(char *host, char *port) {
return sd;
}
-int main(int argc, char *argv[]) {
+int
+main(int argc, char *argv[])
+{
int sd, ocsp_status;
const unsigned char *p;
long len;
@@ -131,4 +135,3 @@ int main(int argc, char *argv[]) {
return 0;
}
-