diff options
author | Matt Caswell <matt@openssl.org> | 2015-01-21 23:55:44 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-01-22 09:38:39 +0000 |
commit | 10621efd3296a92f489f6ab26a88e88d9790930e (patch) | |
tree | aab0039a60553725f787518cc50fd630b55ce8a8 /ssl/d1_meth.c | |
parent | e498b83fed7025eeacb4dd2ad183c3f6236467b2 (diff) |
Run util/openssl-format-source -v -c .
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'ssl/d1_meth.c')
-rw-r--r-- | ssl/d1_meth.c | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/ssl/d1_meth.c b/ssl/d1_meth.c index 5c4004bfe3..aaa718c927 100644 --- a/ssl/d1_meth.c +++ b/ssl/d1_meth.c @@ -1,7 +1,7 @@ /* ssl/d1_meth.h */ -/* +/* * DTLS implementation written by Nagendra Modadugu - * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. + * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. */ /* ==================================================================== * Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved. @@ -11,7 +11,7 @@ * are met: * * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. + * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in @@ -63,15 +63,12 @@ static const SSL_METHOD *dtls1_get_method(int ver); static const SSL_METHOD *dtls1_get_method(int ver) - { - if (ver == DTLS1_VERSION) - return(DTLSv1_method()); - else - return(NULL); - } +{ + if (ver == DTLS1_VERSION) + return (DTLSv1_method()); + else + return (NULL); +} IMPLEMENT_dtls1_meth_func(DTLSv1_method, - dtls1_accept, - dtls1_connect, - dtls1_get_method) - + dtls1_accept, dtls1_connect, dtls1_get_method) |