summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2017-08-28 17:54:59 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2017-08-28 17:54:59 +0000
commitc42e7cacb50d83b9b3d6c05d416d6d1c578644b8 (patch)
tree828adbba09732e544a0421a37ffd33ef1300338c /regress
parentfc59f501524cb7743b21496fa41a92ded5840a28 (diff)
Some style(9).
Diffstat (limited to 'regress')
-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;
}
-