Also a handly tool, since TLS is hard to debug with 'openssl s_client'
This won't build if --with-tls isn't openssl. You should make it check that.
Good catch, fixed.
Oh yeah, I meant gnutls, not openssl. :-) How come your example is full of printf/fprintfs? This makes me rather sad. + * @author Jonny Lamb <jonny.lamb@collabora.co.uk> o rly? Did I write any of this?! I haven't really reviewed this though as I don't know anything about gnutls. Sorry...
Fixed those things. Rebased and pushed now branch to above url. There's not much to know about gnutls in this case, we're just parsing out bits of the certificate, and encoding it in PEM format (base64).
Rebased and updated for wocky master. Sjoerd can I merge this?
I rebased and merged this, along with an extra patch to not use a real password: <http://cgit.freedesktop.org/wocky/commit/?id=3b8e1050>. Only took 15 months… sorry!
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.