]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
updated for pkg-config autoconf macro and added gnutls_pubkey_encrypt_data.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 9 Jan 2012 20:21:28 +0000 (21:21 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 9 Jan 2012 20:21:28 +0000 (21:21 +0100)
doc/cha-cert-auth2.texi
doc/cha-gtls-app.texi

index 3036bc78a7ddea4c5cec395d692f6b78865b0ccf..a2f4f35edb02ac7060e86db7c847fa3da1cf49a2 100644 (file)
@@ -858,8 +858,11 @@ signature verification operations with the underlying keys.
 
 @showfuncdesc{gnutls_pubkey_verify_data2}
 @showfuncdesc{gnutls_pubkey_verify_hash}
+@showfuncdesc{gnutls_pubkey_encrypt_data}
+
 @showfuncdesc{gnutls_privkey_sign_data}
 @showfuncdesc{gnutls_privkey_sign_hash}
+@showfuncdesc{gnutls_privkey_decrypt_data}
 
 Signing existing structures, such as certificates, CRLs,
 or certificate requests, as well as associating public
index 3a9d4f7a0d1e88640d4445477c6f54ce2f870dfe..d5932b56fe09c54cfd7167c01fc21a1f8fd8dade 100644 (file)
@@ -267,6 +267,16 @@ specifying both options to @command{pkg-config}:
 gcc -o foo foo.c `pkg-config gnutls --cflags --libs`
 @end example
 
+When a program uses the GNU autoconf system, then the following
+line or similar can be used to detect the presence of GnuTLS.
+
+@example
+PKG_CHECK_MODULES([LIBGNUTLS], [gnutls >= 3.0.0])
+
+AC_SUBST([LIBGNUTLS_CFLAGS])
+AC_SUBST([LIBGNUTLS_LIBS])
+@end example
+
 @node Session initialization
 @section Session initialization