Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openssl/web.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark J. Cox <mark@awe.com>2022-07-25 10:49:58 +0300
committerMark J. Cox <mark@awe.com>2022-07-25 10:49:58 +0300
commit9a81a97b221f542297375654bfbcd30ae8e3a5d7 (patch)
tree30395c268f86ff8c6d8c1a2f4bb946e9c1570452
parentf4fafd9051fdf260c3b9ed40d010ddd09c0bb930 (diff)
If a release is only available to premium support customers because it
is EOL then don't link to github as those patches won't be there
-rwxr-xr-xbin/mk-cvepage5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/mk-cvepage b/bin/mk-cvepage
index 612bc74..08fd1da 100755
--- a/bin/mk-cvepage
+++ b/bin/mk-cvepage
@@ -122,7 +122,10 @@ for issue in sorted(issues, key=lambda x: (x.getAttribute('public'), x.getElemen
continue
allissues += "<li>Fixed in OpenSSL %s " %(affects.getAttribute('version'))
for git in affects.getElementsByTagName('git'):
- allissues += "<a href=\"https://github.com/openssl/openssl/commit/%s\">(git commit)</a> " %(git.getAttribute('hash'))
+ if (affects.getAttribute('premium')):
+ allissues += "<a href=\"/support/contracts.html?githash=%s\">(premium support)</a> " %(git.getAttribute('hash'))
+ else:
+ allissues += "<a href=\"https://github.com/openssl/openssl/commit/%s\">(git commit)</a> " %(git.getAttribute('hash'))
allissues += "(Affected "+merge_affects(issue,affects.getAttribute("base"))+")"
allissues += "</li>"
if also: