SHA256
1
0
forked from pool/sslscan
sslscan/fedora-sslscan-patents.patch

22 lines
1.3 KiB
Diff

diff --git a/sslscan.c b/sslscan.c
index a7b0233..2698f90 100644
--- a/sslscan.c
+++ b/sslscan.c
@@ -2891,6 +2891,8 @@ int showCertificate(struct sslCheckOptions *options)
printf(" DSA Public Key: NULL\n");
}
break;
+ /* Comment out patented technology not enabled in Fedora */
+ /*
case EVP_PKEY_EC:
if (EVP_PKEY_get1_EC_KEY(publicKey)!=NULL)
{
@@ -2908,6 +2910,7 @@ int showCertificate(struct sslCheckOptions *options)
printf(" EC Public Key: NULL\n");
}
break;
+ */
default:
printf(" Public Key: Unknown\n");
printf_xml(" <pk error=\"true\" type=\"unknown\" />\n");