aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tlsv1_cred.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tls/tlsv1_cred.h')
-rw-r--r--src/tls/tlsv1_cred.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tls/tlsv1_cred.h b/src/tls/tlsv1_cred.h
index b1e3e00..ac72b8c 100644
--- a/src/tls/tlsv1_cred.h
+++ b/src/tls/tlsv1_cred.h
@@ -15,6 +15,8 @@ struct tlsv1_credentials {
struct crypto_private_key *key;
unsigned int ca_cert_verify:1;
+ unsigned int server_cert_only:1;
+ u8 srv_cert_hash[32];
/* Diffie-Hellman parameters */
u8 *dh_p; /* prime */