~ubuntu-branches/ubuntu/lucid/gnutls26/lucid-proposed

« back to all changes in this revision

Viewing changes to doc/manpages/gnutls_openpgp_crt_check_hostname.3

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Metzler
  • Date: 2008-06-24 19:13:25 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080624191325-33rewwn0p11jzdvq
Tags: 2.4.0-2
* Standards version 3.8.0. Rename README.source_and_patches to README.source.
* Upload to unstable.
* Point watchfile to stable releases again.
* Merge experimental and unstable changelog.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
2
 
.TH "gnutls_openpgp_crt_check_hostname" 3 "2.2.5" "gnutls" "gnutls"
 
2
.TH "gnutls_openpgp_crt_check_hostname" 3 "2.4.0" "gnutls" "gnutls"
3
3
.SH NAME
4
 
gnutls_openpgp_crt_check_hostname \- This function compares the given hostname with the hostname in the key
 
4
gnutls_openpgp_crt_check_hostname \- compare hostname with the key's hostname
5
5
.SH SYNOPSIS
6
6
.B #include <gnutls/openpgp.h>
7
7
.sp
8
8
.BI "int gnutls_openpgp_crt_check_hostname(gnutls_openpgp_crt_t " key ", const char * " hostname ");"
9
9
.SH ARGUMENTS
10
10
.IP "gnutls_openpgp_crt_t key" 12
11
 
should contain an gnutls_openpgp_crt_t structure
 
11
should contain an \fBgnutls_openpgp_crt_t\fP structure
12
12
.IP "const char * hostname" 12
13
13
A null terminated string that contains a DNS name
14
14
.SH "DESCRIPTION"
15
 
This function will check if the given key's owner matches
16
 
the given hostname. This is a basic implementation of the matching 
 
15
This function will check if the given key's owner matches the
 
16
given hostname. This is a basic implementation of the matching
17
17
described in RFC2818 (HTTPS), which takes into account wildcards.
18
 
 
19
 
Returns non zero on success, and zero on failure.
 
18
.SH "RETURNS"
 
19
\fBGNUTLS_E_SUCCESS\fP on success, or an error code.
20
20
.SH "REPORTING BUGS"
21
21
Report bugs to <bug-gnutls@gnu.org>.
22
22
.SH COPYRIGHT
23
 
Copyright \(co 2006, 2007 Free Software Foundation.
 
23
Copyright \(co 2008 Free Software Foundation.
24
24
.br
25
25
Permission is granted to make and distribute verbatim copies of this
26
26
manual provided the copyright notice and this permission notice are