]> git.ipfire.org Git - thirdparty/openssl.git/commit
Don't set cancel state/type
authorMatt Caswell <matt@openssl.org>
Mon, 28 Nov 2022 11:01:12 +0000 (11:01 +0000)
committerTomas Mraz <tomas@openssl.org>
Thu, 1 Dec 2022 14:34:38 +0000 (15:34 +0100)
commit14c593e0034ddb9ca68f4a8e06b251afa127c6d0
tree4172d63d622181b5069496a27c1a97e200cbf6cc
parent6ea44d07a7d0acb4af9eab15d9b4a76227f55f4e
Don't set cancel state/type

pthread_cancel() is never called by OpenSSL. Therefore this is no point in
setting the cancel state/type. The functions to set the cancel state/type
are not supported on Android and result in compilation failures. Therefore
we remove these calls completely.

Fixes #19559

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19779)
crypto/thread/arch/thread_posix.c