Run util/openssl-format-source -v -c .
[openssl.git] / ssl / d1_meth.c
index 8a6cf31947aba86e65e2f58e0db93cb91804a188..24a4d1bdc68b666b9dd366186436e93d487314ec 100644 (file)
@@ -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
 
 static SSL_METHOD *dtls1_get_method(int ver);
 static 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)