diff options
author | jsing <> | 2014-04-14 14:16:33 +0000 |
---|---|---|
committer | jsing <> | 2014-04-14 14:16:33 +0000 |
commit | 95692a60ee0169e369d59f82504e36ff376e13ba (patch) | |
tree | d3a4c41549109f6de6427907f10589c02eec0d25 /src/lib/libssl/d1_meth.c | |
parent | 72c1bd17672378115dcd5254ed88828e45357e7f (diff) | |
download | openbsd-95692a60ee0169e369d59f82504e36ff376e13ba.tar.gz openbsd-95692a60ee0169e369d59f82504e36ff376e13ba.tar.bz2 openbsd-95692a60ee0169e369d59f82504e36ff376e13ba.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 'src/lib/libssl/d1_meth.c')
-rw-r--r-- | src/lib/libssl/d1_meth.c | 16 |
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 | ||
64 | static const SSL_METHOD *dtls1_get_method(int ver); | 64 | static const SSL_METHOD *dtls1_get_method(int ver); |
65 | static const SSL_METHOD *dtls1_get_method(int ver) | 65 | static 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 | ||
73 | IMPLEMENT_dtls1_meth_func(DTLSv1_method, | 74 | IMPLEMENT_dtls1_meth_func(DTLSv1_method, |
74 | dtls1_accept, | 75 | dtls1_accept, dtls1_connect, dtls1_get_method) |
75 | dtls1_connect, | ||
76 | dtls1_get_method) | ||
77 | |||