diff options
author | 2014-04-19 08:52:32 +0000 | |
---|---|---|
committer | 2014-04-19 08:52:32 +0000 | |
commit | dbea66cd1623e97296cb30d20896a9c0c5976d2c (patch) | |
tree | 19fdc86fc22b0040ec8adf299f852dd795e70bb8 /lib/libssl/t1_meth.c | |
parent | tiny fix: Remove duplicate rows, they appeared after importing less 444 (diff) | |
download | wireguard-openbsd-dbea66cd1623e97296cb30d20896a9c0c5976d2c.tar.xz wireguard-openbsd-dbea66cd1623e97296cb30d20896a9c0c5976d2c.zip |
More KNF and style consistency tweaks
Diffstat (limited to 'lib/libssl/t1_meth.c')
-rw-r--r-- | lib/libssl/t1_meth.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libssl/t1_meth.c b/lib/libssl/t1_meth.c index ab2d789e591..cf62fe5c3d7 100644 --- a/lib/libssl/t1_meth.c +++ b/lib/libssl/t1_meth.c @@ -60,16 +60,16 @@ #include <openssl/objects.h> #include "ssl_locl.h" -static const SSL_METHOD -*tls1_get_method(int ver) +static const SSL_METHOD * +tls1_get_method(int ver) { if (ver == TLS1_2_VERSION) - return TLSv1_2_method(); + return (TLSv1_2_method()); if (ver == TLS1_1_VERSION) - return TLSv1_1_method(); + return (TLSv1_1_method()); if (ver == TLS1_VERSION) - return TLSv1_method(); - return NULL; + return (TLSv1_method()); + return (NULL); } IMPLEMENT_tls_meth_func(TLS1_2_VERSION, TLSv1_2_method, |