1 =pod 2 3 =head1 NAME 4 5 ERR_remove_thread_state, ERR_remove_state - DEPRECATED 6 7 =head1 SYNOPSIS 8 9 The following function has been deprecated since OpenSSL 1.0.0, and can be 10 hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value, 11 see L<openssl_user_macros(7)>: 12 13 void ERR_remove_state(unsigned long tid); 14 15 The following function has been deprecated since OpenSSL 1.1.0, and can be 16 hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value, 17 see L<openssl_user_macros(7)>: 18 19 void ERR_remove_thread_state(void *tid); 20 21 =head1 DESCRIPTION 22 23 ERR_remove_state() frees the error queue associated with the specified 24 thread, identified by B<tid>. 25 ERR_remove_thread_state() does the same thing, except the identifier is 26 an opaque pointer. 27 28 =head1 RETURN VALUES 29 30 ERR_remove_state() and ERR_remove_thread_state() return no value. 31 32 =head1 SEE ALSO 33 34 LL<OPENSSL_init_crypto(3)> 35 36 =head1 HISTORY 37 38 ERR_remove_state() was deprecated in OpenSSL 1.0.0 and 39 ERR_remove_thread_state() was deprecated in OpenSSL 1.1.0; these functions 40 and should not be used. 41 42 =head1 COPYRIGHT 43 44 Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved. 45 46 Licensed under the Apache License 2.0 (the "License"). You may not use 47 this file except in compliance with the License. You can obtain a copy 48 in the file LICENSE in the source distribution or at 49 L<https://www.openssl.org/source/license.html>. 50 51 =cut 52