Summary: | Add example which dumps recieved TLS certificates to stdout | ||
---|---|---|---|
Product: | Wocky | Reporter: | Stef Walter <stefw> |
Component: | General | Assignee: | Telepathy bugs list <telepathy-bugs> |
Status: | RESOLVED FIXED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | sjoerd, stefw |
Version: | git master | Keywords: | patch |
Hardware: | Other | ||
OS: | All | ||
URL: | http://git.collabora.co.uk/?p=user/stefw/wocky.git;a=shortlog;h=refs/heads/dump-certificates | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Stef Walter
2011-04-13 07:11:27 UTC
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.