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

Help Needed: SSL_set_verify_cb #57

Open
wants to merge 1 commit into
base: add-new-subs
Choose a base branch
from

Conversation

ufobat
Copy link

@ufobat ufobat commented Mar 17, 2018

I am trying to implement something that I am currently doing with Perl5 with AnyEvent::TLS and Net::SSLeay.

AnyEvent::TLS sets a verfiy_callback: https://metacpan.org/source/MLEHMANN/AnyEvent-7.14/lib/AnyEvent/TLS.pm#L807. This part of the PR is working. And then I want to get access to the X509 Certificate. E.g https://metacpan.org/source/MIKEM/Net-SSLeay-1.85/SSLeay.xs#L3993. This Part is not working and I have no clue why.
This is done in the test here: https://github.com/sergot/openssl/pull/57/files#diff-c19cb85aa48fb2d5486b2e53770f1003R34

I'd appreciate some help :-)

adjusted signature - 07-verify-cb.t passes

wip

wip
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.

1 participant