Folding two different SSLProtocol blocks into one, without any change to the logic in use or the final output.
Rationale
The only condition targeting Apache 2.3.16 is whether to explicitly exclude SSLv2 or not (as it is disabled by default from that point on), not worth maintaining as separate blocks with different formatting etc.
Any SSLv3 logic is removed as it is no longer present in any configs and is also only disabled completely.
Significant changes and points to review
Absolutely no impact to the actual output.
The 2.3.16 condition for explicit SSLv2 removal is just kept within the single block, SSLv3 removal is unconditional.
(Includes some indentation and whitespace control for better readability, but not as "neat" as before; however the deduplication is hopefully worth it.)
(Includes some indentation and whitespace control for better readability, but not as "neat" as before; however the deduplication is hopefully worth it.)
Folding two different
SSLProtocol
blocks into one, without any change to the logic in use or the final output.Rationale
The only condition targeting Apache 2.3.16 is whether to explicitly exclude SSLv2 or not (as it is disabled by default from that point on), not worth maintaining as separate blocks with different formatting etc.
Any SSLv3 logic is removed as it is no longer present in any configs and is also only disabled completely.
Significant changes and points to review
Absolutely no impact to the actual output.
The
2.3.16
condition for explicit SSLv2 removal is just kept within the single block, SSLv3 removal is unconditional.(Includes some indentation and whitespace control for better readability, but not as "neat" as before; however the deduplication is hopefully worth it.)
Testing
https://upd-apache-protocols--mozsslconf-dev.netlify.app/#server=apache&version=2.2.22 https://upd-apache-protocols--mozsslconf-dev.netlify.app/#server=apache&version=2.2.22&config=old vs. https://upd-apache-protocols--mozsslconf-dev.netlify.app/#server=apache&version=2.4.24 https://upd-apache-protocols--mozsslconf-dev.netlify.app/#server=apache&version=2.4.24&config=old https://upd-apache-protocols--mozsslconf-dev.netlify.app/#server=apache&config=modern