Mercurial > pidgin.yaz
changeset 18990:3f2944bdb404
- Finish tls_peers get_cert
author | William Ehlhardt <williamehlhardt@gmail.com> |
---|---|
date | Fri, 06 Jul 2007 00:31:24 +0000 |
parents | 43d1ee6a3ed5 |
children | 7a144f2229c6 |
files | libpurple/certificate.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/certificate.c Fri Jul 06 00:29:09 2007 +0000 +++ b/libpurple/certificate.c Fri Jul 06 00:31:24 2007 +0000 @@ -353,10 +353,11 @@ /* Okay, now find and load that key */ keypath = purple_certificate_pool_mkpath(&x509_tls_peers, id); + crt = purple_certificate_import(x509, keypath); - /* TODO: finish this */ + g_free(keypath); - return NULL; + return crt; } static gboolean