author | convert-repo |
Mon, 25 Jan 2021 22:55:03 +0000 | |
changeset 741 | d79ab1c77b17 |
parent 704 | d682ae8d7d3a |
permissions | -rw-r--r-- |
516
4dd3aa6b83e5
Change the tab width to 4 steps in the emacs headers
Mikael Hallendal <micke@imendio.com>
parents:
515
diff
changeset
|
1 |
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
2 |
/* |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
3 |
* Copyright (C) 2003-2006 Imendio AB |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
4 |
* |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
5 |
* This program is free software; you can redistribute it and/or |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
6 |
* modify it under the terms of the GNU Lesser General Public License as |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
7 |
* published by the Free Software Foundation; either version 2 of the |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
8 |
* License, or (at your option) any later version. |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
9 |
* |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
10 |
* This program is distributed in the hope that it will be useful, |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
13 |
* Lesser General Public License for more details. |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
14 |
* |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
15 |
* You should have received a copy of the GNU Lesser General Public |
690
7ccf2113ec5f
Update the postal address of the FSF
Frank Zschockelt <lm@freakysoft.de>
parents:
675
diff
changeset
|
16 |
* License along with this program; if not, see <https://www.gnu.org/licenses> |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
17 |
*/ |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
18 |
|
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
19 |
#include <config.h> |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
20 |
|
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
21 |
#include "lm-ssl.h" |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
22 |
#include "lm-ssl-base.h" |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
23 |
#include "lm-ssl-internals.h" |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
24 |
|
607 | 25 |
LmSSLResponse |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
26 |
_lm_ssl_func_always_continue (LmSSL *ssl, |
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
27 |
LmSSLStatus status, |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
28 |
gpointer user_data) |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
29 |
{ |
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
30 |
return LM_SSL_RESPONSE_CONTINUE;; |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
31 |
} |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
32 |
|
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
33 |
/* Define the SSL functions as noops if we compile without support */ |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
34 |
#ifndef HAVE_SSL |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
35 |
|
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
36 |
LmSSL * |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
37 |
_lm_ssl_new (const gchar *expected_fingerprint, |
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
38 |
LmSSLFunction ssl_function, |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
39 |
gpointer user_data, |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
40 |
GDestroyNotify notify) |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
41 |
{ |
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
42 |
return NULL; |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
43 |
} |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
44 |
|
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
45 |
void |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
46 |
_lm_ssl_initialize (LmSSL *ssl) |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
47 |
{ |
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
48 |
/* NOOP */ |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
49 |
} |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
50 |
|
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
51 |
gboolean |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
52 |
_lm_ssl_begin (LmSSL *ssl, |
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
53 |
gint fd, |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
54 |
const gchar *server, |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
55 |
GError **error) |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
56 |
{ |
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
57 |
return TRUE; |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
58 |
} |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
59 |
|
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
60 |
GIOStatus |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
61 |
_lm_ssl_read (LmSSL *ssl, |
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
62 |
gchar *buf, |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
63 |
gint len, |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
64 |
gsize *bytes_read) |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
65 |
{ |
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
66 |
/* NOOP */ |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
67 |
*bytes_read = 0; |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
68 |
|
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
69 |
return G_IO_STATUS_EOF; |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
70 |
} |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
71 |
|
607 | 72 |
gboolean |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
73 |
_lm_ssl_send (LmSSL *ssl, const gchar *str, gint len) |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
74 |
{ |
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
75 |
/* NOOP */ |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
76 |
return TRUE; |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
77 |
} |
607 | 78 |
void |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
79 |
_lm_ssl_close (LmSSL *ssl) |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
80 |
{ |
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
81 |
/* NOOP */ |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
82 |
} |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
83 |
|
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
84 |
void |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
85 |
_lm_ssl_free (LmSSL *ssl) |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
86 |
{ |
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
87 |
/* NOOP */ |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
88 |
} |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
89 |
|
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
90 |
#endif /* HAVE_SSL */ |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
91 |
|
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
92 |
|
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
93 |
/** |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
94 |
* lm_ssl_new: |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
95 |
* @expected_fingerprint: The expected fingerprint. @ssl_function will be called if there is a mismatch. %NULL if you are not interested in this check. |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
96 |
* @ssl_function: Callback called to inform the user of a problem during setting up the SSL connection and how to proceed. If %NULL is passed the default function that always continues will be used. |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
97 |
* @user_data: Data sent with the callback. |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
98 |
* @notify: Function to free @user_dataa when the connection is finished. %NULL if @user_data should not be freed. |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
99 |
* |
607 | 100 |
* Creates a new SSL struct, call #lm_connection_set_ssl to use it. |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
101 |
* |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
102 |
* Return value: A new #LmSSL struct. |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
103 |
**/ |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
104 |
LmSSL * |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
105 |
lm_ssl_new (const gchar *expected_fingerprint, |
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
106 |
LmSSLFunction ssl_function, |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
107 |
gpointer user_data, |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
108 |
GDestroyNotify notify) |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
109 |
{ |
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
110 |
/* The implementation of this function will be different depending |
607 | 111 |
* on which implementation is used |
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
112 |
*/ |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
113 |
return _lm_ssl_new (expected_fingerprint, |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
114 |
ssl_function, user_data, notify); |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
115 |
} |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
116 |
|
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
117 |
/** |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
118 |
* lm_ssl_is_supported: |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
119 |
* |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
120 |
* Checks whether Loudmouth supports SSL or not. |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
121 |
* |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
122 |
* Return value: #TRUE if this installation of Loudmouth supports SSL, otherwise returns #FALSE. |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
123 |
**/ |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
124 |
gboolean |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
125 |
lm_ssl_is_supported (void) |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
126 |
{ |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
127 |
#ifdef HAVE_SSL |
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
128 |
return TRUE; |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
129 |
#else |
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
130 |
return FALSE; |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
131 |
#endif |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
132 |
} |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
133 |
|
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
134 |
|
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
135 |
/** |
607 | 136 |
* lm_ssl_get_fingerprint: |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
137 |
* @ssl: an #LmSSL |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
138 |
* |
704
d682ae8d7d3a
Deprecate MD5 fingerprints for SHA256
Frank Zschockelt <lm@freakysoft.de>
parents:
690
diff
changeset
|
139 |
* Returns the fingerprint of the remote server's certificate. |
607 | 140 |
* |
704
d682ae8d7d3a
Deprecate MD5 fingerprints for SHA256
Frank Zschockelt <lm@freakysoft.de>
parents:
690
diff
changeset
|
141 |
* Return value: A null terminated string representing the fingerprint or %NULL if unknown. |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
142 |
**/ |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
143 |
const gchar * |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
144 |
lm_ssl_get_fingerprint (LmSSL *ssl) |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
145 |
{ |
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
146 |
g_return_val_if_fail (ssl != NULL, NULL); |
607 | 147 |
|
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
148 |
return LM_SSL_BASE(ssl)->fingerprint; |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
149 |
} |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
150 |
|
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
151 |
/** |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
152 |
* lm_ssl_ref: |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
153 |
* @ssl: an #LmSSL |
607 | 154 |
* |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
155 |
* Adds a reference to @ssl. |
607 | 156 |
* |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
157 |
* Return value: the ssl |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
158 |
**/ |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
159 |
LmSSL * |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
160 |
lm_ssl_ref (LmSSL *ssl) |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
161 |
{ |
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
162 |
g_return_val_if_fail (ssl != NULL, NULL); |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
163 |
|
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
164 |
LM_SSL_BASE(ssl)->ref_count++; |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
165 |
|
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
166 |
return ssl; |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
167 |
} |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
168 |
|
675
617e0120bb0f
Add the new API to the reference documentation
Mikael Berthe <mikael@lilotux.net>
parents:
651
diff
changeset
|
169 |
/** |
617e0120bb0f
Add the new API to the reference documentation
Mikael Berthe <mikael@lilotux.net>
parents:
651
diff
changeset
|
170 |
* lm_ssl_set_cipher_list: |
617e0120bb0f
Add the new API to the reference documentation
Mikael Berthe <mikael@lilotux.net>
parents:
651
diff
changeset
|
171 |
* @ssl: an #LmSSL |
617e0120bb0f
Add the new API to the reference documentation
Mikael Berthe <mikael@lilotux.net>
parents:
651
diff
changeset
|
172 |
* @cipher_list: list of ciphers |
617e0120bb0f
Add the new API to the reference documentation
Mikael Berthe <mikael@lilotux.net>
parents:
651
diff
changeset
|
173 |
* |
617e0120bb0f
Add the new API to the reference documentation
Mikael Berthe <mikael@lilotux.net>
parents:
651
diff
changeset
|
174 |
* Sets the list of availeble ciphers. |
617e0120bb0f
Add the new API to the reference documentation
Mikael Berthe <mikael@lilotux.net>
parents:
651
diff
changeset
|
175 |
* |
617e0120bb0f
Add the new API to the reference documentation
Mikael Berthe <mikael@lilotux.net>
parents:
651
diff
changeset
|
176 |
**/ |
650
a51209f570b6
Implemented lm_ssl_set_cipher_list
Frank Zschockelt <lm@freakysoft.de>
parents:
607
diff
changeset
|
177 |
void |
a51209f570b6
Implemented lm_ssl_set_cipher_list
Frank Zschockelt <lm@freakysoft.de>
parents:
607
diff
changeset
|
178 |
lm_ssl_set_cipher_list (LmSSL *ssl, |
a51209f570b6
Implemented lm_ssl_set_cipher_list
Frank Zschockelt <lm@freakysoft.de>
parents:
607
diff
changeset
|
179 |
const gchar *cipher_list) |
a51209f570b6
Implemented lm_ssl_set_cipher_list
Frank Zschockelt <lm@freakysoft.de>
parents:
607
diff
changeset
|
180 |
{ |
a51209f570b6
Implemented lm_ssl_set_cipher_list
Frank Zschockelt <lm@freakysoft.de>
parents:
607
diff
changeset
|
181 |
_lm_ssl_base_set_cipher_list(LM_SSL_BASE(ssl), cipher_list); |
a51209f570b6
Implemented lm_ssl_set_cipher_list
Frank Zschockelt <lm@freakysoft.de>
parents:
607
diff
changeset
|
182 |
} |
a51209f570b6
Implemented lm_ssl_set_cipher_list
Frank Zschockelt <lm@freakysoft.de>
parents:
607
diff
changeset
|
183 |
|
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
184 |
/** |
651
2990ee03cfa3
Implemented lm_ssl_set_ca
Frank Zschockelt <lm@freakysoft.de>
parents:
650
diff
changeset
|
185 |
* lm_ssl_set_ca: |
2990ee03cfa3
Implemented lm_ssl_set_ca
Frank Zschockelt <lm@freakysoft.de>
parents:
650
diff
changeset
|
186 |
* @ssl: an #LmSSL |
2990ee03cfa3
Implemented lm_ssl_set_ca
Frank Zschockelt <lm@freakysoft.de>
parents:
650
diff
changeset
|
187 |
* @ca_path: path to a certificate or a directory containing certificates |
2990ee03cfa3
Implemented lm_ssl_set_ca
Frank Zschockelt <lm@freakysoft.de>
parents:
650
diff
changeset
|
188 |
* |
2990ee03cfa3
Implemented lm_ssl_set_ca
Frank Zschockelt <lm@freakysoft.de>
parents:
650
diff
changeset
|
189 |
* Sets a path to certificates which should be trusted. |
2990ee03cfa3
Implemented lm_ssl_set_ca
Frank Zschockelt <lm@freakysoft.de>
parents:
650
diff
changeset
|
190 |
* |
2990ee03cfa3
Implemented lm_ssl_set_ca
Frank Zschockelt <lm@freakysoft.de>
parents:
650
diff
changeset
|
191 |
**/ |
2990ee03cfa3
Implemented lm_ssl_set_ca
Frank Zschockelt <lm@freakysoft.de>
parents:
650
diff
changeset
|
192 |
void |
2990ee03cfa3
Implemented lm_ssl_set_ca
Frank Zschockelt <lm@freakysoft.de>
parents:
650
diff
changeset
|
193 |
lm_ssl_set_ca (LmSSL *ssl, const gchar *ca_path) |
2990ee03cfa3
Implemented lm_ssl_set_ca
Frank Zschockelt <lm@freakysoft.de>
parents:
650
diff
changeset
|
194 |
{ |
2990ee03cfa3
Implemented lm_ssl_set_ca
Frank Zschockelt <lm@freakysoft.de>
parents:
650
diff
changeset
|
195 |
_lm_ssl_base_set_ca_path(LM_SSL_BASE(ssl), ca_path); |
2990ee03cfa3
Implemented lm_ssl_set_ca
Frank Zschockelt <lm@freakysoft.de>
parents:
650
diff
changeset
|
196 |
} |
2990ee03cfa3
Implemented lm_ssl_set_ca
Frank Zschockelt <lm@freakysoft.de>
parents:
650
diff
changeset
|
197 |
|
2990ee03cfa3
Implemented lm_ssl_set_ca
Frank Zschockelt <lm@freakysoft.de>
parents:
650
diff
changeset
|
198 |
|
2990ee03cfa3
Implemented lm_ssl_set_ca
Frank Zschockelt <lm@freakysoft.de>
parents:
650
diff
changeset
|
199 |
/** |
286
e0bcf40cbf5e
add use_starttls and require_starttls members to LmSSLBase, plus corresponding access functions
Dafydd Harries <daf@rhydd.org>
parents:
137
diff
changeset
|
200 |
* lm_ssl_use_starttls: |
e0bcf40cbf5e
add use_starttls and require_starttls members to LmSSLBase, plus corresponding access functions
Dafydd Harries <daf@rhydd.org>
parents:
137
diff
changeset
|
201 |
* @ssl: an #LmSSL |
e0bcf40cbf5e
add use_starttls and require_starttls members to LmSSLBase, plus corresponding access functions
Dafydd Harries <daf@rhydd.org>
parents:
137
diff
changeset
|
202 |
* |
e0bcf40cbf5e
add use_starttls and require_starttls members to LmSSLBase, plus corresponding access functions
Dafydd Harries <daf@rhydd.org>
parents:
137
diff
changeset
|
203 |
* Set whether STARTTLS should be used. |
e0bcf40cbf5e
add use_starttls and require_starttls members to LmSSLBase, plus corresponding access functions
Dafydd Harries <daf@rhydd.org>
parents:
137
diff
changeset
|
204 |
**/ |
e0bcf40cbf5e
add use_starttls and require_starttls members to LmSSLBase, plus corresponding access functions
Dafydd Harries <daf@rhydd.org>
parents:
137
diff
changeset
|
205 |
void |
e0bcf40cbf5e
add use_starttls and require_starttls members to LmSSLBase, plus corresponding access functions
Dafydd Harries <daf@rhydd.org>
parents:
137
diff
changeset
|
206 |
lm_ssl_use_starttls (LmSSL *ssl, |
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
207 |
gboolean use_starttls, |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
208 |
gboolean require_starttls) |
286
e0bcf40cbf5e
add use_starttls and require_starttls members to LmSSLBase, plus corresponding access functions
Dafydd Harries <daf@rhydd.org>
parents:
137
diff
changeset
|
209 |
{ |
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
210 |
LmSSLBase *base; |
286
e0bcf40cbf5e
add use_starttls and require_starttls members to LmSSLBase, plus corresponding access functions
Dafydd Harries <daf@rhydd.org>
parents:
137
diff
changeset
|
211 |
|
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
212 |
base = LM_SSL_BASE (ssl); |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
213 |
base->use_starttls = use_starttls; |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
214 |
base->require_starttls = require_starttls; |
286
e0bcf40cbf5e
add use_starttls and require_starttls members to LmSSLBase, plus corresponding access functions
Dafydd Harries <daf@rhydd.org>
parents:
137
diff
changeset
|
215 |
} |
e0bcf40cbf5e
add use_starttls and require_starttls members to LmSSLBase, plus corresponding access functions
Dafydd Harries <daf@rhydd.org>
parents:
137
diff
changeset
|
216 |
|
e0bcf40cbf5e
add use_starttls and require_starttls members to LmSSLBase, plus corresponding access functions
Dafydd Harries <daf@rhydd.org>
parents:
137
diff
changeset
|
217 |
/** |
e0bcf40cbf5e
add use_starttls and require_starttls members to LmSSLBase, plus corresponding access functions
Dafydd Harries <daf@rhydd.org>
parents:
137
diff
changeset
|
218 |
* lm_ssl_get_use_starttls: |
e0bcf40cbf5e
add use_starttls and require_starttls members to LmSSLBase, plus corresponding access functions
Dafydd Harries <daf@rhydd.org>
parents:
137
diff
changeset
|
219 |
* |
e0bcf40cbf5e
add use_starttls and require_starttls members to LmSSLBase, plus corresponding access functions
Dafydd Harries <daf@rhydd.org>
parents:
137
diff
changeset
|
220 |
* Return value: TRUE is @ssl is configured to use STARTTLS. |
e0bcf40cbf5e
add use_starttls and require_starttls members to LmSSLBase, plus corresponding access functions
Dafydd Harries <daf@rhydd.org>
parents:
137
diff
changeset
|
221 |
**/ |
e0bcf40cbf5e
add use_starttls and require_starttls members to LmSSLBase, plus corresponding access functions
Dafydd Harries <daf@rhydd.org>
parents:
137
diff
changeset
|
222 |
gboolean |
e0bcf40cbf5e
add use_starttls and require_starttls members to LmSSLBase, plus corresponding access functions
Dafydd Harries <daf@rhydd.org>
parents:
137
diff
changeset
|
223 |
lm_ssl_get_use_starttls (LmSSL *ssl) |
e0bcf40cbf5e
add use_starttls and require_starttls members to LmSSLBase, plus corresponding access functions
Dafydd Harries <daf@rhydd.org>
parents:
137
diff
changeset
|
224 |
{ |
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
225 |
LmSSLBase *base; |
286
e0bcf40cbf5e
add use_starttls and require_starttls members to LmSSLBase, plus corresponding access functions
Dafydd Harries <daf@rhydd.org>
parents:
137
diff
changeset
|
226 |
|
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
227 |
base = LM_SSL_BASE (ssl); |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
228 |
return base->use_starttls; |
286
e0bcf40cbf5e
add use_starttls and require_starttls members to LmSSLBase, plus corresponding access functions
Dafydd Harries <daf@rhydd.org>
parents:
137
diff
changeset
|
229 |
} |
e0bcf40cbf5e
add use_starttls and require_starttls members to LmSSLBase, plus corresponding access functions
Dafydd Harries <daf@rhydd.org>
parents:
137
diff
changeset
|
230 |
|
e0bcf40cbf5e
add use_starttls and require_starttls members to LmSSLBase, plus corresponding access functions
Dafydd Harries <daf@rhydd.org>
parents:
137
diff
changeset
|
231 |
/** |
e0bcf40cbf5e
add use_starttls and require_starttls members to LmSSLBase, plus corresponding access functions
Dafydd Harries <daf@rhydd.org>
parents:
137
diff
changeset
|
232 |
* lm_ssl_get_require_starttls: |
e0bcf40cbf5e
add use_starttls and require_starttls members to LmSSLBase, plus corresponding access functions
Dafydd Harries <daf@rhydd.org>
parents:
137
diff
changeset
|
233 |
* |
e0bcf40cbf5e
add use_starttls and require_starttls members to LmSSLBase, plus corresponding access functions
Dafydd Harries <daf@rhydd.org>
parents:
137
diff
changeset
|
234 |
* Return value: TRUE if @ssl requires that STARTTLS succeed. |
e0bcf40cbf5e
add use_starttls and require_starttls members to LmSSLBase, plus corresponding access functions
Dafydd Harries <daf@rhydd.org>
parents:
137
diff
changeset
|
235 |
**/ |
e0bcf40cbf5e
add use_starttls and require_starttls members to LmSSLBase, plus corresponding access functions
Dafydd Harries <daf@rhydd.org>
parents:
137
diff
changeset
|
236 |
gboolean |
e0bcf40cbf5e
add use_starttls and require_starttls members to LmSSLBase, plus corresponding access functions
Dafydd Harries <daf@rhydd.org>
parents:
137
diff
changeset
|
237 |
lm_ssl_get_require_starttls (LmSSL *ssl) |
e0bcf40cbf5e
add use_starttls and require_starttls members to LmSSLBase, plus corresponding access functions
Dafydd Harries <daf@rhydd.org>
parents:
137
diff
changeset
|
238 |
{ |
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
239 |
LmSSLBase *base; |
286
e0bcf40cbf5e
add use_starttls and require_starttls members to LmSSLBase, plus corresponding access functions
Dafydd Harries <daf@rhydd.org>
parents:
137
diff
changeset
|
240 |
|
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
241 |
base = LM_SSL_BASE (ssl); |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
242 |
return base->require_starttls; |
286
e0bcf40cbf5e
add use_starttls and require_starttls members to LmSSLBase, plus corresponding access functions
Dafydd Harries <daf@rhydd.org>
parents:
137
diff
changeset
|
243 |
} |
e0bcf40cbf5e
add use_starttls and require_starttls members to LmSSLBase, plus corresponding access functions
Dafydd Harries <daf@rhydd.org>
parents:
137
diff
changeset
|
244 |
|
e0bcf40cbf5e
add use_starttls and require_starttls members to LmSSLBase, plus corresponding access functions
Dafydd Harries <daf@rhydd.org>
parents:
137
diff
changeset
|
245 |
/** |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
246 |
* lm_ssl_unref |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
247 |
* @ssl: an #LmSSL |
607 | 248 |
* |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
249 |
* Removes a reference from @ssl. When no more references are present |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
250 |
* @ssl is freed. |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
251 |
**/ |
607 | 252 |
void |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
253 |
lm_ssl_unref (LmSSL *ssl) |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
254 |
{ |
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
255 |
LmSSLBase *base; |
607 | 256 |
|
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
257 |
g_return_if_fail (ssl != NULL); |
607 | 258 |
|
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
259 |
base = LM_SSL_BASE (ssl); |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
260 |
|
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
261 |
base->ref_count --; |
607 | 262 |
|
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
263 |
if (base->ref_count == 0) { |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
264 |
if (base->data_notify) { |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
265 |
(* base->data_notify) (base->func_data); |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
266 |
} |
607 | 267 |
|
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
268 |
_lm_ssl_free (ssl); |
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
269 |
} |
137
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
270 |
} |
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
271 |
|
18785575aa7a
2006-04-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
diff
changeset
|
272 |