diff options
author | Joe Orton <joe@manyfish.uk> | 2020-10-20 19:17:46 +0100 |
---|---|---|
committer | Joe Orton <joe@manyfish.uk> | 2020-10-20 19:17:46 +0100 |
commit | 0f2d07907722af1f18866b9a97c7b5debed1a3f2 (patch) | |
tree | eb0a761fa18f94a9d75c7e715349aa820cf50ad5 | |
parent | 0bdf3460e53a1ee89324a0e778abe3c8ca52369e (diff) | |
download | neon-git-0f2d07907722af1f18866b9a97c7b5debed1a3f2.tar.gz |
* test/ssl.c (fail_nul_cn, fail_nul_san): Disable tests with prebuilt
certs using a SHA-1 digest, which now fail with current OpenSSL and
GnuTLS. (issue #38)
-rw-r--r-- | test/ssl.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -895,7 +895,7 @@ static int fail_wrongCN(void) #define SRCDIR(s) ne_concat(srcdir, "/" s, NULL) -#ifndef HAVE_GNUTLS +#if 0 static int fail_nul_cn(void) { char *key = SRCDIR("nulsrv.key"), *ca = SRCDIR("nulca.pem"); @@ -1945,8 +1945,9 @@ ne_test tests[] = { T(fail_ca_expired), T(nulcn_identity), -#ifndef HAVE_GNUTLS - /* These certs were created with a SHA#1 digest so are rejected by GnuTLS. */ +#if 0 + /* These certs were created with a SHA#1 digest so are rejected by + * modern TLS libraries. */ T(fail_nul_cn), T(fail_nul_san), #endif |