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

Update SSLFDProxy to implement SSLSocketListener #1024

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

edewata
Copy link
Contributor

@edewata edewata commented Aug 28, 2024

Previously SSLFDProxy.c was accessing the fields in SSLFDProxy class directly using JNI to update handshakeComplete and add SSL alert events into inboundAlerts and outboundAlerts.

To make it easier to investigate SSL alert issues, SSLFDProxy has been updated to implement SSLSocketListener then SSLFDProxy.c will call SSLSocketListener methods to perform the above operations.

Previously SSLFDProxy.c was accessing the fields in SSLFDProxy
class directly using JNI to update handshakeComplete and add SSL
alert events into inboundAlerts and outboundAlerts.

To make it easier to investigate SSL alert issues, SSLFDProxy has
been updated to implement SSLSocketListener then SSLFDProxy.c will
call SSLSocketListener methods to perform the above operations.
@edewata edewata requested a review from fmarco76 August 28, 2024 16:41
Copy link

sonarcloud bot commented Aug 28, 2024

Copy link
Member

@fmarco76 fmarco76 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@edewata
Copy link
Contributor Author

edewata commented Aug 28, 2024

@fmarco76 Thanks!

@edewata edewata merged commit 0f352ec into dogtagpki:master Aug 28, 2024
33 of 36 checks passed
@siteshwar
Copy link

You may also want to remove JSS_NSS_getEventArrayList() function with this change as it is not used anymore. It was found through https://openscanhub.fedoraproject.org/task/7775/log/added.html.

@fmarco76
Copy link
Member

@siteshwar Thanks for the notification. I have opened a PR to remove the method.

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.

3 participants