-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/8449/
-----------------------------------------------------------
(Updated Dec. 13, 2012, 10:51 p.m.)
Review request for qpid and Rafael Schloming.
Changes
-------
Third time's a charm:
- made peer_hostname a property per Rafi's suggestion
- added a new verify mode instead of the check_cert flag:
PN_SSL_VERIFY_PEER_NAME - like PN_SSL_VERIFY_PEER, but with the name check
done?
Description
-------
Adds an API call to set the hostname which is used for Server Name Indication
as well as Common Name matching. Right now only support exact text match - no
wildcarding.
This addresses bug proton-161.
https://issues.apache.org/jira/browse/proton-161
Diffs (updated)
-----
/proton/trunk/proton-c/bindings/python/proton.py 1420994
/proton/trunk/proton-c/bindings/python/python.i 1420994
/proton/trunk/proton-c/include/proton/ssl.h 1420994
/proton/trunk/proton-c/src/ssl/openssl.c 1420994
/proton/trunk/proton-c/src/ssl/ssl_stub.c 1420994
/proton/trunk/tests/proton_tests/ssl.py 1420994
/proton/trunk/tests/proton_tests/ssl_db/README.txt 1420994
/proton/trunk/tests/proton_tests/ssl_db/ca-certificate.pem 1420994
/proton/trunk/tests/proton_tests/ssl_db/ca-private-key.pem PRE-CREATION
/proton/trunk/tests/proton_tests/ssl_db/client-certificate.pem 1420994
/proton/trunk/tests/proton_tests/ssl_db/client-private-key.pem 1420994
/proton/trunk/tests/proton_tests/ssl_db/server-certificate.pem 1420994
/proton/trunk/tests/proton_tests/ssl_db/server-private-key.pem 1420994
Diff: https://reviews.apache.org/r/8449/diff/
Testing
-------
Updated ssl unit tests.
Thanks,
Kenneth Giusti