summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorRandall S. Becker <rsbecker@nexbridge.com>2021-03-26 06:34:49 -0600
committerTomas Mraz <tomas@openssl.org>2021-04-01 15:52:25 +0200
commit650c66873793bed505802f316b15772a0f887743 (patch)
treea865119999fd7a5942b4d1c53445908563c79a22 /ssl
parent1f99b53fe57997b72f196d54769a2fc789c69a11 (diff)
Corrected missing definitions from NonStop SPT build.
This change includes swapping the PUT and SPT configuration, includes of sys/stat.h and sys/types.h in the correct scope to be picked up by SPT definitions. Fixes: #14698 Fixes: #14734 CLA: The author has the permission to grant the OpenSSL Team the right to use this change. Signed-off-by: Randall S. Becker <rsbecker@nexbridge.com> Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14736)
Diffstat (limited to 'ssl')
-rw-r--r--ssl/ssl_sess.c4
-rw-r--r--ssl/statem/extensions.c5
-rw-r--r--ssl/statem/statem.c5
3 files changed, 14 insertions, 0 deletions
diff --git a/ssl/ssl_sess.c b/ssl/ssl_sess.c
index 4e4f9aacea..cb225b544a 100644
--- a/ssl/ssl_sess.c
+++ b/ssl/ssl_sess.c
@@ -8,6 +8,10 @@
* https://www.openssl.org/source/license.html
*/
+#if defined(__TANDEM) && defined(_SPT_MODEL_)
+# include <spthread.h>
+# include <spt_extensions.h> /* timeval */
+#endif
#include <stdio.h>
#include <openssl/rand.h>
#include <openssl/engine.h>
diff --git a/ssl/statem/extensions.c b/ssl/statem/extensions.c
index 0ce436d082..2f624c0e64 100644
--- a/ssl/statem/extensions.c
+++ b/ssl/statem/extensions.c
@@ -7,6 +7,11 @@
* https://www.openssl.org/source/license.html
*/
+#if defined(__TANDEM) && defined(_SPT_MODEL_)
+# include <spthread.h>
+# include <spt_extensions.h> /* timeval */
+#endif
+
#include <string.h>
#include "internal/nelem.h"
#include "internal/cryptlib.h"
diff --git a/ssl/statem/statem.c b/ssl/statem/statem.c
index 74c270d002..3b6e78e3f8 100644
--- a/ssl/statem/statem.c
+++ b/ssl/statem/statem.c
@@ -7,6 +7,11 @@
* https://www.openssl.org/source/license.html
*/
+#if defined(__TANDEM) && defined(_SPT_MODEL_)
+# include <spthread.h>
+# include <spt_extensions.h> /* timeval */
+#endif
+
#include "internal/cryptlib.h"
#include <openssl/rand.h>
#include "../ssl_local.h"