Skip to content

Conversation

@kazuho
Copy link

@kazuho kazuho commented Apr 21, 2016

Thank you for providing this useful library.

We would like to use it at part of our web server (ref: h2o/h2o#875), but we do not like having validate_hostname as an extern function, since users of the web server as a library may have a function with the same name already defined.

To accommodate the issue, this PR adds a macro named OPENSSL_HOSTNAME_VALIDATION_LINKAGE that can be used to set the scope as well as other attributes to the function. The default is set to extern, so it does not break existing code.

FWIW, we are going to use it like h2o/h2o@d08e9bc.

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