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

feature: ssl: add new API methods for TLS-PSK #150

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

vartiait
Copy link

@vartiait vartiait commented Oct 4, 2017

I hereby granted the copyright of the changes in this pull request
to the authors of this lua-resty-core project.

Adds following new methods to ngx.ssl for TLS-PSK support:

  • ok, err = ssl.set_psk_key(psk_key)
  • psk_identity, err = ssl.get_psk_identity()

This is related to PR at lua-nginx-module/pull/1167

@zhangcunli8499
Copy link

@vartiait Could you resolve the conflict? Thanks.

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.

2 participants