blob: bf7d0c62cb39f78fbde5fa300d492e545d44a88d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
/*
* Wocky TLS integration - common stuff for GNUTLS and OpenSSL backends
* (This would be called wocky-tls.c, but that's the GNUTLS backend for
* historical reasons.)
*
* Copyright © 2008 Christian Kellner, Samuel Cormier-Iijima
* Copyright © 2008-2009 Codethink Limited
* Copyright © 2009-2012 Collabora Limited
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation; either version 2 of the licence or (at
* your option) any later version.
*
* Authors: Vivek Dasmohapatra <vivek@collabora.co.uk>
* Ryan Lortie <desrt@desrt.ca>
* Christian Kellner <gicmo@gnome.org>
* Samuel Cormier-Iijima <sciyoshi@gmail.com>
*
* Based on an unmerged gnio feature. See wocky-tls.c for details.
*/
#include "config.h"
#include "wocky-tls.h"
GQuark
wocky_tls_cert_error_quark (void)
{
static GQuark quark = 0;
if (quark == 0)
quark = g_quark_from_static_string ("wocky-tls-cert-error");
return quark;
}
GQuark
wocky_tls_error_quark (void)
{
static GQuark quark = 0;
if (quark == 0)
quark = g_quark_from_static_string ("wocky-tls-error");
return quark;
}
/* this file is "borrowed" from an unmerged gnio feature: */
/* Local Variables: */
/* c-file-style: "gnu" */
/* End: */
|