summaryrefslogtreecommitdiff
path: root/dev-python/pyopenssl
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pyopenssl')
-rw-r--r--dev-python/pyopenssl/pyopenssl-24.2.1.ebuild10
1 files changed, 1 insertions, 9 deletions
diff --git a/dev-python/pyopenssl/pyopenssl-24.2.1.ebuild b/dev-python/pyopenssl/pyopenssl-24.2.1.ebuild
index 852e128b1f10..718b1960ed5c 100644
--- a/dev-python/pyopenssl/pyopenssl-24.2.1.ebuild
+++ b/dev-python/pyopenssl/pyopenssl-24.2.1.ebuild
@@ -45,15 +45,7 @@ src_test() {
tests/test_ssl.py::TestContext::test_set_default_verify_paths
)
- # test for 32-bit time_t
- "$(tc-getCC)" ${CFLAGS} ${CPPFLAGS} -c -x c - -o /dev/null <<-EOF &>/dev/null
- #include <sys/types.h>
- int test[sizeof(time_t) >= 8 ? 1 : -1];
- EOF
-
- if [[ ${?} -eq 0 ]]; then
- einfo "time_t is at least 64-bit long"
- else
+ if ! tc-has-64bit-time_t; then
einfo "time_t is smaller than 64 bits, will skip broken tests"
EPYTEST_DESELECT+=(
tests/test_crypto.py::TestX509StoreContext::test_verify_with_time