summaryrefslogtreecommitdiff
path: root/sys/src/cmd/tlssrv.c
AgeCommit message (Collapse)Author
2015-02-17tlssrv: produce meaningfull error message when unable to read certificatecinap_lenrek
2015-02-17tlssrv: fix usage, dont catcinap_lenrek
2015-02-17tlssrv: fix this mess (thanks burnzez for reporting the issue)cinap_lenrek
tlsServer() closes the passed in fd, in our case fd=1 leaving it with no std output which got occupied by pipe() filedescriptor which it then closed after duping... a classic. delete all this mess. theres no reason to fork() and copy traffic on a pipe at all as tlsServer() gives us a perfectly valid filedescriptor. just dup() and exec() and we'r done.
2013-09-14tls: fix various tlsClient()/tlsServer() related bugscinap_lenrek
- TLSconn structure on stack but not initialized (zeroed) - original filedescriptor double closed in error case - original filedescriptor leaked in success case - leaked TLSconn.sessionID and TLSconn.cert - clarify in pushtls(2) and pushssl(2)
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen