Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #833 #868

Closed
wants to merge 1 commit into from
Closed

fix #833 #868

wants to merge 1 commit into from

Conversation

bricewge
Copy link
Contributor

It partially revert the changes made in 9c6a5f3. But I used ASN1_STRING_get0_data() instead of the previous ASN1_STRING_data() because openssl say it is deprecated.

@bricewge
Copy link
Contributor Author

Updated due to the remarks of @ptjm at #833 (comment). It should work with openssl before version 1.1 and not broke when the CN contains nulls (https://wiki.openssl.org/index.php/Hostname_validation).

@toast-uz
Copy link
Contributor

Note there is a comment as bellow in ChangeLog.txt on mosquitto v1.5.

- Support for openssl versions 1.0.0 and 1.0.1 has been removed as these are
  no longer supported by openssl.

What do you think about that?

@toast-uz toast-uz requested review from ralight and removed request for ralight July 31, 2018 14:52
@toast-uz toast-uz added the Status: Blocked Another issue needs to be resolved first label Jul 31, 2018
@bricewge
Copy link
Contributor Author

bricewge commented Aug 1, 2018

I wasn't aware of this comment.
@toast-uz Do you want me to update the PR to use ASN1_STRING_get0_data() instead so it only support openssl 1.1 and higher?

@toast-uz
Copy link
Contributor

toast-uz commented Aug 1, 2018

Openssl 1.0.2 is still available. Is your patch needed and available with openssl 1.0.2?

@bricewge
Copy link
Contributor Author

bricewge commented Aug 1, 2018

Yes it's needed since it fix a mosquitto bug and it should work with openssl 1.0.2.

@toast-uz
Copy link
Contributor

toast-uz commented Aug 1, 2018

OK. Understood this PR is valid. Then keep this PR and related issue.

@ralight
Copy link
Contributor

ralight commented Aug 8, 2018

Thanks for this PR, could you please sign the Eclipse Contributor Agreement and add a signed-off-by line to your commit message?

https://www.eclipse.org/legal/ECA.php

To add the line, do:

git commit --amend -s
git push -f

That should just update this PR.

Signed-off-by: Brice Waegeneire <[email protected]>
@bricewge
Copy link
Contributor Author

bricewge commented Aug 8, 2018

I just signed the ECA.

I didn't bothered to sign it at first because the first patch was trivial.

@ralight
Copy link
Contributor

ralight commented Aug 8, 2018

Lovely, thanks. I'll get to this later this afternoon.

@ralight
Copy link
Contributor

ralight commented Aug 8, 2018

I've merged this manually so it could go on the fixes branch rather than master, so I'm going to close this as merged. The commit is at the link below, thanks very much for your contribution.

2a3305a

@ralight ralight closed this Aug 8, 2018
@ralight ralight added this to the 1.5.1 milestone Aug 8, 2018
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants