aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2011-03-21 12:09:10 +0000
committerlloyd <[email protected]>2011-03-21 12:09:10 +0000
commit70f820425d3b7aad5772e9bcb7ff1de15ef2793e (patch)
tree5be101ae52ba994af2025d9886b17c41fc38e279
parent976571c4ec2d3d3328e7dac215f45ecc50ee9aa0 (diff)
Print a warning when SSL is enabled, as it is new and mostly
unreviewed/untested at this point. Add support for a <comment> tag for this.
-rwxr-xr-xconfigure.py10
-rw-r--r--src/ssl/info.txt5
2 files changed, 13 insertions, 2 deletions
diff --git a/configure.py b/configure.py
index cfd920fb8..4698b0f66 100755
--- a/configure.py
+++ b/configure.py
@@ -447,8 +447,10 @@ class ModuleInfo(object):
lex_me_harder(infofile, self,
['source', 'header:internal', 'header:public',
- 'requires', 'os', 'arch', 'cc', 'libs'],
- { 'load_on': 'auto',
+ 'requires', 'os', 'arch', 'cc', 'libs',
+ 'comment'],
+ {
+ 'load_on': 'auto',
'define': None,
'uses_tr1': 'false',
'need_isa': None,
@@ -500,6 +502,10 @@ class ModuleInfo(object):
self.uses_tr1 = (True if self.uses_tr1 == 'yes' else False)
+ if self.comment != []:
+ logging.info('Module comment for ' + self.basename + ' - ' +
+ ' '.join(self.comment))
+
def sources(self):
return self.source
diff --git a/src/ssl/info.txt b/src/ssl/info.txt
index ec70e7248..17e6fd1c0 100644
--- a/src/ssl/info.txt
+++ b/src/ssl/info.txt
@@ -1,5 +1,10 @@
define SSL_TLS
+<comment>
+The SSL/TLS code is complex, new, and not yet reviewed, there may be
+serious bugs or security issues.
+</comment>
+
uses_tr1 yes
<header:public>