diff options
author | Geoff Thorpe <geoff@openssl.org> | 2008-07-03 19:59:25 +0000 |
---|---|---|
committer | Geoff Thorpe <geoff@openssl.org> | 2008-07-03 19:59:25 +0000 |
commit | 5f834ab123af6444b7cffe21849e434ad6479f8a (patch) | |
tree | 0cc48f4fc085f781606cb118b715781651487cb3 /crypto/err/err_prn.c | |
parent | 8528128b2a740d34d3ae1d43c525d7e6ea6d7f37 (diff) | |
download | openssl-5f834ab123af6444b7cffe21849e434ad6479f8a.tar.gz |
Revert my earlier CRYPTO_THREADID commit, I will commit a reworked
version some time soon.
Diffstat (limited to 'crypto/err/err_prn.c')
-rw-r--r-- | crypto/err/err_prn.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/crypto/err/err_prn.c b/crypto/err/err_prn.c index 6515d10c07..2224a901e5 100644 --- a/crypto/err/err_prn.c +++ b/crypto/err/err_prn.c @@ -72,10 +72,8 @@ void ERR_print_errors_cb(int (*cb)(const char *str, size_t len, void *u), const char *file,*data; int line,flags; unsigned long es; - CRYPTO_THREADID tid; - CRYPTO_THREADID_set(&tid); - es = CRYPTO_THREADID_hash(&tid); + es=CRYPTO_thread_id(); while ((l=ERR_get_error_line_data(&file,&line,&data,&flags)) != 0) { ERR_error_string_n(l, buf, sizeof buf); |