summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsing <>2017-08-28 17:54:58 +0000
committerjsing <>2017-08-28 17:54:58 +0000
commitd7f21a7691c789a56fffa51266ca6ea06d89235a (patch)
tree66d52d67d5554e9d0e9c047476d2df05123ef6c3
parent174093006e805dd7f12f036808dbc9be0ec6910a (diff)
downloadopenbsd-d7f21a7691c789a56fffa51266ca6ea06d89235a.tar.gz
openbsd-d7f21a7691c789a56fffa51266ca6ea06d89235a.tar.bz2
openbsd-d7f21a7691c789a56fffa51266ca6ea06d89235a.zip
Some style(9).
-rw-r--r--src/regress/lib/libcrypto/ocsp/ocsp_test.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/regress/lib/libcrypto/ocsp/ocsp_test.c b/src/regress/lib/libcrypto/ocsp/ocsp_test.c
index 44a5f1b009..6adec688b6 100644
--- a/src/regress/lib/libcrypto/ocsp/ocsp_test.c
+++ b/src/regress/lib/libcrypto/ocsp/ocsp_test.c
@@ -8,7 +8,9 @@
8#include <openssl/ssl.h> 8#include <openssl/ssl.h>
9#include <openssl/ocsp.h> 9#include <openssl/ocsp.h>
10 10
11static int tcp_connect(char *host, char *port) { 11static int
12tcp_connect(char *host, char *port)
13{
12 int error, sd = -1; 14 int error, sd = -1;
13 struct addrinfo hints, *res, *r; 15 struct addrinfo hints, *res, *r;
14 16
@@ -38,7 +40,9 @@ static int tcp_connect(char *host, char *port) {
38 return sd; 40 return sd;
39} 41}
40 42
41int main(int argc, char *argv[]) { 43int
44main(int argc, char *argv[])
45{
42 int sd, ocsp_status; 46 int sd, ocsp_status;
43 const unsigned char *p; 47 const unsigned char *p;
44 long len; 48 long len;
@@ -131,4 +135,3 @@ int main(int argc, char *argv[]) {
131 135
132 return 0; 136 return 0;
133} 137}
134