Skip to content

Fix checks with HAS_UDS and HAS_UDS2#2726

Merged
drwetter merged 1 commit intotestssl:3.2from
dcooper16:fix_has_uds_checks
Apr 2, 2025
Merged

Fix checks with HAS_UDS and HAS_UDS2#2726
drwetter merged 1 commit intotestssl:3.2from
dcooper16:fix_has_uds_checks

Conversation

@dcooper16
Copy link
Collaborator

Describe your changes

This PR fixes a check where the Boolean variables $HAS_UDS and $HAS_UDS2 are checked for whether they are empty rather than for whether they are true.

I haven't been able to test this PR, as I don't have a STARTTLS server to test against.

What is your pull request about?

  • Bug fix
  • Improvement
  • New feature (adds functionality)
  • Breaking change (bug fix, feature or improvement that would cause existing functionality to not work as expected)
  • Typo fix
  • Documentation update
  • Update of other files

If it's a code change please check the boxes which are applicable

  • For the main program: My edits contain no tabs, indentation is five spaces and any line endings do not contain any blank chars
  • I've read CONTRIBUTING.md and Coding_Convention.md
  • I have tested this fix or improvement against >=2 hosts and I couldn't spot a problem
  • I have tested this new feature against >=2 hosts which show this feature and >=2 host which does not (in order to avoid side effects) . I couldn't spot a problem
  • For the new feature I have made corresponding changes to the documentation and / or to help()
  • If it's a bigger change: I added myself to CREDITS.md (alphabetical order) and the change to CHANGELOG.md

This commit fixes a check where the Boolean variables $HAS_UDS and $HAS_UDS2 are checked for whether they are empty rather than for whether they are true.
@drwetter drwetter merged commit be9a85c into testssl:3.2 Apr 2, 2025
2 checks passed
@drwetter
Copy link
Collaborator

drwetter commented Apr 2, 2025

Thanks, professional code reviewer ;-)

@dcooper16 dcooper16 deleted the fix_has_uds_checks branch April 4, 2025 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments