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

how to return SSL error stack #312

Open
mcr opened this issue Jan 28, 2020 · 2 comments
Open

how to return SSL error stack #312

mcr opened this issue Jan 28, 2020 · 2 comments

Comments

@mcr
Copy link
Contributor

mcr commented Jan 28, 2020

A number of routines (I'm debugging ossl_x509extfactory_create_ext) need to log the entire SSL error call stack in order to provide better diagnostics.
I know how to get this out as a string, but I'm not sure what the best way to return the error is.
I think that we should return an array of strings (it's an error stack), and it's only really ever gonna be meaningful to humans.
Please advise.

@ioquatix
Copy link
Member

Shouldn't it just raise an error with a backtrace?

@mcr
Copy link
Contributor Author

mcr commented Jan 31, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants