]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Fix.
authorSimon Josefsson <simon@josefsson.org>
Sun, 19 Sep 2004 12:31:55 +0000 (12:31 +0000)
committerSimon Josefsson <simon@josefsson.org>
Sun, 19 Sep 2004 12:31:55 +0000 (12:31 +0000)
doc/examples/ex-rfc2818.c

index 577c22211ce4c8c0626bf7829fe00a778809b710..9ce20e8b8974d989ab63fa71f0c215688440e8b7 100644 (file)
@@ -4,12 +4,12 @@
 /* This function will try to verify the peer's certificate, and
  * also check if the hostname matches, and the activation, expiration dates.
  */
-void verify_certificate( gnutls_session session, const char* hostname)
+void verify_certificate( gnutls_session_t session, const char* hostname)
 {
    unsigned int status;
-   const gnutls_datum* cert_list;
+   const gnutls_datum_t* cert_list;
    int cert_list_size, ret;
-   gnutls_x509_crt cert;
+   gnutls_x509_crt_t cert;
 
 
    /* This verification function uses the trusted CAs in the credentials