Re: TLS server-client in Pike
Siddhant Gupta <[email protected]>
| Newsgroups | gmane.comp.lang.pike.user |
|---|---|
| Message-ID | <CAB9YtyFFhSwWPtkTv5Ka=T0OQhfT3YhfthkpiMaKsarvGkadLQ@mail.gmail.com> |
https://github.com/Siddhant085/SSL_client_pike/blob/master/sslclient.pike This is the github link to my code. I am a little confused as the SSL module has changed from pike version 7.8. The older version had SSL.ClientConnection and SSL.ServerConnection but the newer versions don't have these classes On Thu, Jun 2, 2016 at 11:32 AM Martin Bähr <[email protected]> wrote: > Excerpts from Siddhant Gupta's message of 2016-06-02 05:51:35 +0000: > > No, it didn't work out. I tried putting the read in a loop and I used > FILE > > instead of File. I also tried printing SSL.context.advertised_protocols > but > > I am getting no results. I was able to communicate between the client and > > the server without SSL so I feel its a problem with SSL. > > please share the code that you tried. > > maybe set up a small github repo. then anyone can easily replicate the > problem and once working we have a public example others can use... > > greetings, martin. > > -- > eKita - the online platform for your entire academic > life > -- > chief engineer > eKita.co > general manager > realss.com > mentor > fossasia.org > secretary blug.sh > beijinglug.org > pike programmer pike.lysator.liu.se caudium.net > societyserver.org > unix sysadmin > Martin Bähr working in china > http://societyserver.org/mbaehr/ >