summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorViktor Dukhovni <openssl-users@dukhovni.org>2016-05-15 13:02:17 -0400
committerViktor Dukhovni <openssl-users@dukhovni.org>2016-05-16 12:16:26 -0400
commit5c4328f04f63bc288d4e069e1453ab18b0309f16 (patch)
treeaf382cc88ad40bd91388a6a1e3aec096554ac9bd /crypto
parentb160f2823fb3bafdf8728ea251aab0d07888b934 (diff)
Fold threads.h into crypto.h making API public
Document thread-safe lock creation Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/async/async.c1
-rw-r--r--crypto/bio/b_addr.c2
-rw-r--r--crypto/bn/bn_blind.c1
-rw-r--r--crypto/engine/eng_int.h1
-rw-r--r--crypto/err/err.c1
-rw-r--r--crypto/err/err_prn.c1
-rw-r--r--crypto/ex_data.c1
-rw-r--r--crypto/init.c1
-rw-r--r--crypto/mem_dbg.c1
-rw-r--r--crypto/mem_sec.c1
-rw-r--r--crypto/rand/md_rand.c1
-rw-r--r--crypto/threads_none.c1
-rw-r--r--crypto/threads_pthread.c1
-rw-r--r--crypto/threads_win.c1
-rw-r--r--crypto/x509/by_dir.c1
15 files changed, 1 insertions, 15 deletions
diff --git a/crypto/async/async.c b/crypto/async/async.c
index b4ba561888..719379e175 100644
--- a/crypto/async/async.c
+++ b/crypto/async/async.c
@@ -61,7 +61,6 @@
/* This must be the first #include file */
#include "async_locl.h"
-#include <internal/threads.h>
#include <openssl/err.h>
#include <internal/cryptlib_int.h>
#include <string.h>
diff --git a/crypto/bio/b_addr.c b/crypto/bio/b_addr.c
index 1813f5a9bb..356ab11330 100644
--- a/crypto/bio/b_addr.c
+++ b/crypto/bio/b_addr.c
@@ -55,7 +55,7 @@
#include <string.h>
#include "bio_lcl.h"
-#include "internal/threads.h"
+#include <openssl/crypto.h>
#ifndef OPENSSL_NO_SOCK
#include <openssl/err.h>
diff --git a/crypto/bn/bn_blind.c b/crypto/bn/bn_blind.c
index 81b895ce37..fcc4db5205 100644
--- a/crypto/bn/bn_blind.c
+++ b/crypto/bn/bn_blind.c
@@ -110,7 +110,6 @@
#include <openssl/opensslconf.h>
#include "internal/cryptlib.h"
-#include "internal/threads.h"
#include "bn_lcl.h"
#define BN_BLINDING_COUNTER 32
diff --git a/crypto/engine/eng_int.h b/crypto/engine/eng_int.h
index b1752957db..36bc933695 100644
--- a/crypto/engine/eng_int.h
+++ b/crypto/engine/eng_int.h
@@ -65,7 +65,6 @@
# define HEADER_ENGINE_INT_H
# include "internal/cryptlib.h"
-# include "internal/threads.h"
# include <internal/engine.h>
#ifdef __cplusplus
diff --git a/crypto/err/err.c b/crypto/err/err.c
index fd2ea8194a..f1a80c0d50 100644
--- a/crypto/err/err.c
+++ b/crypto/err/err.c
@@ -112,7 +112,6 @@
#include <stdarg.h>
#include <string.h>
#include <internal/cryptlib_int.h>
-#include <internal/threads.h>
#include <internal/err.h>
#include <internal/err_int.h>
#include <openssl/lhash.h>
diff --git a/crypto/err/err_prn.c b/crypto/err/err_prn.c
index 0f7d40c398..1cbec54734 100644
--- a/crypto/err/err_prn.c
+++ b/crypto/err/err_prn.c
@@ -57,7 +57,6 @@
#include <stdio.h>
#include "internal/cryptlib.h"
-#include "internal/threads.h"
#include <openssl/lhash.h>
#include <openssl/crypto.h>
#include <openssl/buffer.h>
diff --git a/crypto/ex_data.c b/crypto/ex_data.c
index ca1c204f38..2570736304 100644
--- a/crypto/ex_data.c
+++ b/crypto/ex_data.c
@@ -109,7 +109,6 @@
*/
#include "internal/cryptlib_int.h"
-#include "internal/threads.h"
#include <openssl/lhash.h>
/*
diff --git a/crypto/init.c b/crypto/init.c
index 938bf78a39..90ab6dff40 100644
--- a/crypto/init.c
+++ b/crypto/init.c
@@ -55,7 +55,6 @@
*
*/
-#include <internal/threads.h>
#include <internal/cryptlib_int.h>
#include <openssl/err.h>
#include <internal/rand.h>
diff --git a/crypto/mem_dbg.c b/crypto/mem_dbg.c
index 2b8cf73028..0df050d057 100644
--- a/crypto/mem_dbg.c
+++ b/crypto/mem_dbg.c
@@ -112,7 +112,6 @@
#include <stdlib.h>
#include <time.h>
#include "internal/cryptlib.h"
-#include "internal/threads.h"
#include <openssl/crypto.h>
#include <openssl/buffer.h>
#include "internal/bio.h"
diff --git a/crypto/mem_sec.c b/crypto/mem_sec.c
index d61d945d63..31fcee6877 100644
--- a/crypto/mem_sec.c
+++ b/crypto/mem_sec.c
@@ -25,7 +25,6 @@
# include <sys/param.h>
# include <sys/stat.h>
# include <fcntl.h>
-# include "internal/threads.h"
#endif
#define CLEAR(p, s) OPENSSL_cleanse(p, s)
diff --git a/crypto/rand/md_rand.c b/crypto/rand/md_rand.c
index e9574b08b8..74beda8bb4 100644
--- a/crypto/rand/md_rand.c
+++ b/crypto/rand/md_rand.c
@@ -125,7 +125,6 @@
#include <openssl/rand.h>
#include <openssl/async.h>
#include "rand_lcl.h"
-#include "internal/threads.h"
#include <openssl/err.h>
diff --git a/crypto/threads_none.c b/crypto/threads_none.c
index 4e3b7a52e8..bd92b8294d 100644
--- a/crypto/threads_none.c
+++ b/crypto/threads_none.c
@@ -48,7 +48,6 @@
*/
#include <openssl/crypto.h>
-#include "internal/threads.h"
#if !defined(OPENSSL_THREADS) || defined(CRYPTO_TDEBUG)
diff --git a/crypto/threads_pthread.c b/crypto/threads_pthread.c
index edca77c0b9..c861faa9bd 100644
--- a/crypto/threads_pthread.c
+++ b/crypto/threads_pthread.c
@@ -48,7 +48,6 @@
*/
#include <openssl/crypto.h>
-#include "internal/threads.h"
#if defined(OPENSSL_THREADS) && !defined(CRYPTO_TDEBUG) && !defined(OPENSSL_SYS_WINDOWS)
diff --git a/crypto/threads_win.c b/crypto/threads_win.c
index 63647a39a6..f2c4cfa179 100644
--- a/crypto/threads_win.c
+++ b/crypto/threads_win.c
@@ -48,7 +48,6 @@
*/
#include <openssl/crypto.h>
-#include "internal/threads.h"
#if defined(OPENSSL_THREADS) && !defined(CRYPTO_TDEBUG) && defined(OPENSSL_SYS_WINDOWS)
diff --git a/crypto/x509/by_dir.c b/crypto/x509/by_dir.c
index 55241175b5..9b3f4f50cb 100644
--- a/crypto/x509/by_dir.c
+++ b/crypto/x509/by_dir.c
@@ -71,7 +71,6 @@
#include <openssl/lhash.h>
#include <openssl/x509.h>
-#include "internal/threads.h"
#include "internal/x509_int.h"
#include "x509_lcl.h"