summaryrefslogtreecommitdiff
path: root/src/lib/libssl/d1_meth.c
diff options
context:
space:
mode:
authorjsing <>2014-04-14 14:16:33 +0000
committerjsing <>2014-04-14 14:16:33 +0000
commite1a98d27f6001691f6f0f7563ffe50c218f86298 (patch)
treed3a4c41549109f6de6427907f10589c02eec0d25 /src/lib/libssl/d1_meth.c
parent1d8d9c34467baab3746e6f8398a2d4fa5677cb68 (diff)
downloadopenbsd-e1a98d27f6001691f6f0f7563ffe50c218f86298.tar.gz
openbsd-e1a98d27f6001691f6f0f7563ffe50c218f86298.tar.bz2
openbsd-e1a98d27f6001691f6f0f7563ffe50c218f86298.zip
First pass at applying KNF to the OpenSSL code, which almost makes it
readable. This pass is whitespace only and can readily be verified using tr and md5.
Diffstat (limited to '')
-rw-r--r--src/lib/libssl/d1_meth.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/lib/libssl/d1_meth.c b/src/lib/libssl/d1_meth.c
index 5c4004bfe3..2d3f3920ec 100644
--- a/src/lib/libssl/d1_meth.c
+++ b/src/lib/libssl/d1_meth.c
@@ -62,16 +62,14 @@
62#include "ssl_locl.h" 62#include "ssl_locl.h"
63 63
64static const SSL_METHOD *dtls1_get_method(int ver); 64static const SSL_METHOD *dtls1_get_method(int ver);
65static const SSL_METHOD *dtls1_get_method(int ver) 65static const SSL_METHOD
66 { 66*dtls1_get_method(int ver)
67{
67 if (ver == DTLS1_VERSION) 68 if (ver == DTLS1_VERSION)
68 return(DTLSv1_method()); 69 return (DTLSv1_method());
69 else 70 else
70 return(NULL); 71 return (NULL);
71 } 72}
72 73
73IMPLEMENT_dtls1_meth_func(DTLSv1_method, 74IMPLEMENT_dtls1_meth_func(DTLSv1_method,
74 dtls1_accept, 75 dtls1_accept, dtls1_connect, dtls1_get_method)
75 dtls1_connect,
76 dtls1_get_method)
77