~ubuntu-branches/ubuntu/trusty/gq/trusty

« back to all changes in this revision

Viewing changes to src/dt_cert.c

  • Committer: Bazaar Package Importer
  • Author(s): Barry deFreese
  • Date: 2009-10-25 23:34:56 UTC
  • mfrom: (1.1.4 upstream) (3.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20091025233456-i794n3yg2cff930j
Tags: 1.3.4-1
* QA upload.
  + Set maintainer to Debian QA Group <packages@qa.debian.org>.
* New upstream release. (Closes: #534705).
  + Does not segfault on amd64. (Closes: #444312).
  + Remove all existing patches and change patch system to quilt.
  + Replace dpatch build-dep with quilt.
* 01_desktop_file.diff - Remove encoding and bogus categories 
  from desktop file.
* Copy in config.{sub,guess} on configure, rm them on clean.
  + Add build-dep on autotools-dev.
* Make clean not ignore errors.
* Add copyright holders and version path to GPL (GPL-2).
* Update watch file to use SF redirector. (Closes: #449749).
* Bump debhelper build-dep and compat to 5.
* Bump Standards Version to 3.8.3.
  + Menu policy transition.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
25
25
*/
26
26
 
27
 
/* $Id: dt_cert.c 937 2006-05-25 13:51:47Z herzi $ */
28
 
 
29
27
#ifdef HAVE_CONFIG_H
30
28
# include <config.h>
31
29
#endif /* HAVE_CONFIG_H */
32
30
#ifdef HAVE_LIBCRYPTO
33
31
 
 
32
#define GTK_ENABLE_BROKEN  /* for the text widget - should be replaced - FIXME */
 
33
#include "dt_cert.h"
 
34
 
34
35
#include <string.h>
35
36
#include <sys/types.h>
36
37
#include <sys/stat.h>
42
43
#include <glib.h>
43
44
#include <glib/gi18n.h>
44
45
#include <gdk/gdk.h>
45
 
#define GTK_ENABLE_BROKEN  /* for the text widget - should be replaced - FIXME */
46
46
#include <gtk/gtk.h>
47
47
 
48
48
#include <openssl/bio.h>
54
54
#include <openssl/buffer.h>
55
55
 
56
56
#include "common.h"
57
 
#include "util.h"
58
 
#include "formfill.h"
59
 
#include "dt_cert.h"
 
57
#include "gq-utilities.h"
 
58
#include "gq-formfill.h"
60
59
 
61
 
static void dt_cert_fill_clist(struct formfill *form,
 
60
static void dt_cert_fill_clist(GqFormfill *form,
62
61
                               GtkWidget *hbox,
63
62
                               GtkWidget *data_widget,
64
63
                               GByteArray *internal,
65
64
                               GtkWidget *clist);
66
65
 
67
 
static void dt_cert_fill_details(struct formfill *form,
 
66
static void dt_cert_fill_details(GqFormfill *form,
68
67
                                 GtkWidget *data_widget,
69
68
                                 GtkWidget *text,
70
69
                                 GByteArray *internal,
71
70
                                 GtkWidget *clist);
72
71
 
73
 
static void dt_cert_fill_clist(struct formfill *form,
 
72
static void dt_cert_fill_clist(GqFormfill *form,
74
73
                               GtkWidget *hbox,
75
74
                               GtkWidget *data_widget,
76
75
                               GByteArray *internal,
228
227
     }
229
228
}
230
229
 
231
 
static void dt_cert_fill_details(struct formfill *form,
 
230
static void dt_cert_fill_details(GqFormfill *form,
232
231
                                 GtkWidget *data_widget,
233
232
                                 GtkWidget *text,
234
233
                                 GByteArray *internal,