+/* WARNING: do not edit! */
+/* Generated from crypto/include/internal/dso_conf.h.in */
+/*
+ * Copyright 2016-2019 The OpenSSL Project Authors. All Rights Reserved.
+ *
+ * Licensed under the OpenSSL license (the "License"). You may not use
+ * this file except in compliance with the License. You can obtain a copy
+ * in the file LICENSE in the source distribution or at
+ * https://www.openssl.org/source/license.html
+ */
+
+#ifndef HEADER_DSO_CONF_H
+# define HEADER_DSO_CONF_H
+# define DSO_NONE
+# define DSO_EXTENSION ".so"
+#endif
--- /dev/null
+/** @file\r
+ Include file to support building the third-party cryptographic library.\r
+\r
+Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
+\r
+**/\r
+\r
+#include <CrtLibSupport.h>\r
--- /dev/null
+/** @file\r
+ Include file to support building the third-party cryptographic library.\r
+\r
+Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
+\r
+**/\r
+\r
+#include <CrtLibSupport.h>\r
#\r
# This script runs the OpenSSL Configure script, then processes the\r
# resulting file list into our local OpensslLib[Crypto].inf and also\r
-# takes a copy of opensslconf.h.\r
+# takes copies of opensslconf.h and dso_conf.h.\r
#\r
# This only needs to be done once by a developer when updating to a\r
# new version of OpenSSL (or changing options, etc.). Normal users\r
) == 0 ||\r
die "Failed to generate opensslconf.h!\n";\r
\r
+ # Generate dso_conf.h per config data\r
+ system(\r
+ "perl -I. -Mconfigdata util/dofile.pl " .\r
+ "crypto/include/internal/dso_conf.h.in " .\r
+ "> include/internal/dso_conf.h"\r
+ ) == 0 ||\r
+ die "Failed to generate dso_conf.h!\n";\r
+\r
chdir($basedir) ||\r
die "Cannot change to base directory \"" . $basedir . "\"";\r
\r
print "Done!";\r
\r
#\r
-# Copy opensslconf.h generated from OpenSSL Configuration\r
+# Copy opensslconf.h and dso_conf.h generated from OpenSSL Configuration\r
#\r
print "\n--> Duplicating opensslconf.h into Include/openssl ... ";\r
copy($OPENSSL_PATH . "/include/openssl/opensslconf.h",\r
$OPENSSL_PATH . "/../../Include/openssl/") ||\r
die "Cannot copy opensslconf.h!";\r
+print "Done!";\r
+print "\n--> Duplicating dso_conf.h into Include/internal ... ";\r
+copy($OPENSSL_PATH . "/include/internal/dso_conf.h",\r
+ $OPENSSL_PATH . "/../../Include/internal/") ||\r
+ die "Cannot copy dso_conf.h!";\r
print "Done!\n";\r
\r
print "\nProcessing Files Done!\n";\r