summaryrefslogtreecommitdiff
path: root/libextra/gnutls_extra.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-12-18 10:32:36 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-12-18 10:32:36 +0000
commit4d4fa5bb8a4e2c2fb1fc9ab68a4d6b887e497aa7 (patch)
treeb9dedc72738de90e4dd062df3ae32471bf6f7681 /libextra/gnutls_extra.c
parent07ff6f25feb45c03986a66ce39c17bc2e4e5db09 (diff)
downloadgnutls-4d4fa5bb8a4e2c2fb1fc9ab68a4d6b887e497aa7.tar.gz
Added the callbacks gnutls_certificate_client_retrieve_function() and
gnutls_certificate_server_retrieve_function(), to allow a client or a server to specify certificates for the handshake without storing them to the credentials structure.
Diffstat (limited to 'libextra/gnutls_extra.c')
-rw-r--r--libextra/gnutls_extra.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libextra/gnutls_extra.c b/libextra/gnutls_extra.c
index 30e52c0187..8044b5d7b0 100644
--- a/libextra/gnutls_extra.c
+++ b/libextra/gnutls_extra.c
@@ -153,6 +153,7 @@ extern OPENPGP_KEY_CREATION_TIME_FUNC _E_gnutls_openpgp_extract_key_creation_tim
extern OPENPGP_KEY_EXPIRATION_TIME_FUNC _E_gnutls_openpgp_extract_key_expiration_time;
extern OPENPGP_VERIFY_KEY_FUNC _E_gnutls_openpgp_verify_key;
extern OPENPGP_CERT2GNUTLS_CERT _E_gnutls_openpgp_cert2gnutls_cert;
+extern OPENPGP_KEY2GNUTLS_KEY _E_gnutls_openpgp_key2gnutls_key;
extern OPENPGP_FINGERPRINT _E_gnutls_openpgp_fingerprint;
extern OPENPGP_KEY_REQUEST _E_gnutls_openpgp_request_key;
@@ -164,6 +165,7 @@ static void _gnutls_add_openpgp_functions(void) {
_E_gnutls_openpgp_fingerprint = gnutls_openpgp_fingerprint;
_E_gnutls_openpgp_request_key = _gnutls_openpgp_request_key;
_E_gnutls_openpgp_cert2gnutls_cert = _gnutls_openpgp_cert2gnutls_cert;
+ _E_gnutls_openpgp_key2gnutls_key = _gnutls_openpgp_key2gnutls_key;
#endif
}