diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2010-08-18 22:18:10 +0800 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2010-08-19 01:18:55 +0800 |
commit | 0a173bc247669513992889723e93eb2de4cc0de9 (patch) | |
tree | 77e6071d826e7773a9fe0171e68df77c49840c6d /libempathy/empathy-tls-verifier.c | |
parent | f735801461c5748ee212eaba80c894f33ecf3f10 (diff) | |
download | gsoc2013-empathy-0a173bc247669513992889723e93eb2de4cc0de9.tar.gz gsoc2013-empathy-0a173bc247669513992889723e93eb2de4cc0de9.tar.zst gsoc2013-empathy-0a173bc247669513992889723e93eb2de4cc0de9.zip |
Make it more clear which snippets are taken from GnuTLS
Diffstat (limited to 'libempathy/empathy-tls-verifier.c')
-rw-r--r-- | libempathy/empathy-tls-verifier.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libempathy/empathy-tls-verifier.c b/libempathy/empathy-tls-verifier.c index 5ed9bb996..55afb4087 100644 --- a/libempathy/empathy-tls-verifier.c +++ b/libempathy/empathy-tls-verifier.c @@ -16,6 +16,10 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + * Some snippets are taken from GnuTLS 2.8.6, which is distributed under the + * same GNU Lesser General Public License 2.1 (or later) version. See + * get_certified_hostname (). */ #include <config.h> @@ -225,7 +229,9 @@ get_certified_hostname (gnutls_x509_crt_t cert) gint idx; gint res = 0; - /* this is taken from GnuTLS */ + /* this snippet is taken from GnuTLS. + * see gnutls/lib/x509/rfc2818_hostname.c + */ for (idx = 0; res >= 0; idx++) { dns_name_size = sizeof (dns_name); |