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

Mesalink interface deviates from OpenSSL (SSL_CTX_use_certificate_chain_file, SSL_CTX_use_certificate_file) #39

Open
rjw245 opened this issue Oct 25, 2019 · 1 comment

Comments

@rjw245
Copy link

rjw245 commented Oct 25, 2019

Mesalink doesn't provide an equivalent interface to SSL_CTX_use_certificate_file.
Furthermore, the function mesalink_SSL_CTX_use_certificate_chain_file takes these arguments:

  • MESALINK_CTX *
  • const char *
  • int

Whereas the analogous OpenSSL function SSL_CTX_use_certificate_chain_file only takes two arguments:

  • SSL_CTX *ctx
  • const char *file

See the OpenSSL docs: https://www.openssl.org/docs/man1.0.2/man3/SSL_CTX_use_certificate_chain_file.html

@rjw245
Copy link
Author

rjw245 commented Oct 25, 2019

It would seem to me that given its arguments, mesalink_SSL_CTX_use_certificate_chain_file is actually more analogous to SSL_CTX_use_certificate_file, which accepts the same arguments.

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

No branches or pull requests

1 participant