5) DhGenerateParameter\r
6) DhGenerateKey\r
\r
-Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials\r
-are licensed and made available under the terms and conditions of the BSD License\r
-which accompanies this distribution. The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
\r
-#include <OpenSslSupport.h>\r
+#include <CrtLibSupport.h>\r
\r
//\r
// -- Time Management Routines --\r
//\r
\r
-time_t time (time_t *timer)\r
+time_t\r
+time (\r
+ time_t *timer\r
+ )\r
{\r
- *timer = 0;\r
- return *timer;\r
+ if (timer != NULL) {\r
+ *timer = 0;\r
+ }\r
+\r
+ return 0;\r
}\r
\r
-struct tm * gmtime (const time_t *timer)\r
+struct tm *\r
+gmtime (\r
+ const time_t *timer\r
+ )\r
{\r
return NULL;\r
-}
\ No newline at end of file
+}\r