]> git.0d.be Git - empathy.git/commitdiff
Make it more clear which snippets are taken from GnuTLS
authorCosimo Cecchi <cosimoc@gnome.org>
Wed, 18 Aug 2010 14:18:10 +0000 (16:18 +0200)
committerCosimo Cecchi <cosimoc@gnome.org>
Wed, 18 Aug 2010 17:18:55 +0000 (19:18 +0200)
libempathy/empathy-tls-verifier.c

index 5ed9bb99600ff47bd33766b16ef71e433e1476a3..55afb40879806c9b6cb9a4a22631ac603e96ca4b 100644 (file)
  * 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);