summaryrefslogtreecommitdiff
path: root/doc/examples/ex-client-srp.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-01-28 12:47:49 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-01-28 13:32:16 +0100
commitdc42971afc5051136ebc8d4b21cb49a2055d4a7b (patch)
tree0c5ed89d85e634ee087b09b911cfd3ac04563ad5 /doc/examples/ex-client-srp.c
parenteb3ba487cd5881107f8c63dd3ae4356ccb847dff (diff)
downloadgnutls-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/ex-client-srp.c')
-rw-r--r--doc/examples/ex-client-srp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/ex-client-srp.c b/doc/examples/ex-client-srp.c
index 5a753abff3..89d5165777 100644
--- a/doc/examples/ex-client-srp.c
+++ b/doc/examples/ex-client-srp.c
@@ -18,7 +18,7 @@ extern void tcp_close (int sd);
#define MAX_BUF 1024
#define USERNAME "user"
#define PASSWORD "pass"
-#define CAFILE "ca.pem"
+#define CAFILE "/etc/ssl/certs/ca-certificates.crt"
#define MSG "GET / HTTP/1.0\r\n\r\n"
int