Mercurial > pidgin
comparison libpurple/plugins/ssl/ssl-gnutls.c @ 18188:e6271671eb24
- Expose some more functions in the x509 CertificateScheme. Doesn't
compile :(
author | William Ehlhardt <williamehlhardt@gmail.com> |
---|---|
date | Tue, 19 Jun 2007 17:20:16 +0000 |
parents | 33690062e8b3 |
children | 030a2209ae96 |
comparison
equal
deleted
inserted
replaced
18187:33690062e8b3 | 18188:e6271671eb24 |
---|---|
342 const gchar * SCHEME_NAME = "x509"; | 342 const gchar * SCHEME_NAME = "x509"; |
343 | 343 |
344 /* X.509 certificate operations provided by this plugin */ | 344 /* X.509 certificate operations provided by this plugin */ |
345 /* TODO: Flesh this out! */ | 345 /* TODO: Flesh this out! */ |
346 static CertificateScheme x509_gnutls = { | 346 static CertificateScheme x509_gnutls = { |
347 "x509" /* Scheme name */ | 347 "x509", /* Scheme name */ |
348 N_("X.509 Certificates"), /* User-visible scheme name */ | |
349 x509_import_from_file, /* Certificate import function */ | |
350 x509_destroy_certificate /* Destroy cert */ | |
348 }; | 351 }; |
349 | 352 |
350 /** Transforms a gnutls_datum_t containing an X.509 certificate into a Certificate instance under the x509_gnutls scheme | 353 /** Transforms a gnutls_datum_t containing an X.509 certificate into a Certificate instance under the x509_gnutls scheme |
351 * | 354 * |
352 * @param dt Datum to transform | 355 * @param dt Datum to transform |