Last Comment Bug 924401 - Make it trivial to create a TCP TLS connection
: Make it trivial to create a TCP TLS connection
Status: NEW
Product: NSS
Classification: Components
Component: Libraries (show other bugs)
: 3.15.1
: All All
-- normal (vote)
: ---
Assigned To: nobody
Depends on:
  Show dependency treegraph
Reported: 2013-10-08 07:45 PDT by Miloslav Trmač
Modified: 2013-10-09 11:37 PDT (History)
1 user (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---


Description User image Miloslav Trmač 2013-10-08 07:45:30 PDT
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0 (Beta/Release)
Build ID: 20130917102605

Steps to reproduce:

Please make it trivial to create a TLS connection, so that it is easier to do the right thing than the wrong thing.

E.g. for clients, it would be ideal to have a single function call that, given a host name and port number, combines the DNS lookup with PR_Connect and SSL_SetURL, automatically handling both IPv4/IPv6 and verifying the host name against the certificate.

Note You need to log in before you can comment on or make changes to this bug.