diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-01-28 12:47:49 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-01-28 13:32:16 +0100 |
commit | dc42971afc5051136ebc8d4b21cb49a2055d4a7b (patch) | |
tree | 0c5ed89d85e634ee087b09b911cfd3ac04563ad5 /doc/examples/examples.h | |
parent | eb3ba487cd5881107f8c63dd3ae4356ccb847dff (diff) | |
download | gnutls-dc42971afc5051136ebc8d4b21cb49a2055d4a7b.tar.gz |
Added gnutls_verify_stored_pubkey() and gnutls_store_pubkey().
This enables using ssh-like authentication for TLS sessions.
Diffstat (limited to 'doc/examples/examples.h')
-rw-r--r-- | doc/examples/examples.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/examples/examples.h b/doc/examples/examples.h index e96cb26080..0c2dbb3372 100644 --- a/doc/examples/examples.h +++ b/doc/examples/examples.h @@ -12,6 +12,9 @@ int print_info (gnutls_session_t session); void print_x509_certificate_info (gnutls_session_t session); +int +_ssh_verify_certificate_callback (gnutls_session_t session); + void verify_certificate_chain (const char *hostname, const gnutls_datum_t * cert_chain, |