diff options
author | Simon Josefsson <simon@josefsson.org> | 2005-01-18 17:41:58 +0000 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2005-01-18 17:41:58 +0000 |
commit | 20bf84b8a1de54080021c90ad95b5d80c762b0c9 (patch) | |
tree | c9831b22cd277aa9c7e8af7db6c29f0dfad17b92 | |
parent | a848341f127da4ef858572be1cd34e52adbae041 (diff) | |
download | gnutls-20bf84b8a1de54080021c90ad95b5d80c762b0c9.tar.gz |
Fix client cert callback, to make X.509 client authentication work.
-rw-r--r-- | src/cli.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -304,6 +304,8 @@ static int cert_callback(gnutls_session session, st->cert.x509 = &x509_crt; st->key.x509 = x509_key; + st->type = type; + st->deinit_all = 0; return 0; @@ -315,6 +317,8 @@ static int cert_callback(gnutls_session session, st->cert.pgp = pgp_crt; st->key.pgp = pgp_key; + st->type = type; + st->deinit_all = 0; return 0; |