summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-11-17 12:13:05 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-11-17 12:13:05 +0000
commitad554b811c4ec41b96b30617c7477d4ed34f96e1 (patch)
tree4f98171fab52b061c4bbf8880f3f83d28a1c6913
parentbb165e4f46d1c77779535984eedcb9c605146f79 (diff)
downloadgnutls-ad554b811c4ec41b96b30617c7477d4ed34f96e1.tar.gz
added compatibility function for the openpgp_keyserver.
-rw-r--r--lib/gnutls_int_compat.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/gnutls_int_compat.c b/lib/gnutls_int_compat.c
index c81cbb98d1..d04d9bb381 100644
--- a/lib/gnutls_int_compat.c
+++ b/lib/gnutls_int_compat.c
@@ -112,6 +112,16 @@ int gnutls_handshake_get_direction(gnutls_session session) {
return gnutls_record_get_direction( session);
}
-/* nothing here */
+
+/* This was included in gnutls-extra
+ */
+#undef gnutls_certificate_set_openpgp_keyserver
+int
+gnutls_certificate_set_openpgp_keyserver(gnutls_certificate_credentials res,
+ char* keyserver,
+ int port)
+{
+ return 0;
+}
#endif /* GNUTLS_BACKWARDS_COMPATIBLE */