mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 11:15:13 +03:00
33 lines
958 B
Diff
33 lines
958 B
Diff
From 51ce933d93c46eddad1dd87074efdade6ca39215 Mon Sep 17 00:00:00 2001
|
|
From: Henrik Riomar <henrik.riomar@gmail.com>
|
|
Date: Sat, 22 Oct 2022 12:25:15 +0200
|
|
Subject: [PATCH] tests/test_x509.py: disable openssl verify test
|
|
|
|
openssl no longer allows verification of a self-signed cert
|
|
---
|
|
tests/test_x509.py | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/tests/test_x509.py b/tests/test_x509.py
|
|
index 0807995..28879ef 100644
|
|
--- a/tests/test_x509.py
|
|
+++ b/tests/test_x509.py
|
|
@@ -2,6 +2,7 @@
|
|
X.509 Certificate Tests
|
|
"""
|
|
|
|
+import unittest
|
|
import base64
|
|
import subprocess
|
|
import datetime
|
|
@@ -165,6 +166,7 @@ class X509Tests(TestCase):
|
|
|
|
@Only.openssl
|
|
@requires(Mechanism.RSA_PKCS_KEY_PAIR_GEN, Mechanism.SHA1_RSA_PKCS)
|
|
+ @unittest.skip("fails with modern OpenSSL")
|
|
def test_self_sign_certificate(self):
|
|
# Warning: proof of concept code only!
|
|
pub, priv = self.session.generate_keypair(KeyType.RSA, 1024)
|
|
--
|
|
2.38.0
|
|
|