summaryrefslogtreecommitdiff
path: root/src/libtls/tls.h
diff options
context:
space:
mode:
authorYves-Alexis Perez <corsac@debian.org>2013-11-01 13:32:07 +0100
committerYves-Alexis Perez <corsac@debian.org>2013-11-01 13:32:07 +0100
commita54780509260a8cb6f0344f531da168b34410dd5 (patch)
tree477239a312679174252f39f7a80bc8bf33836d9a /src/libtls/tls.h
parent6e50941f7ce9c6f2d6888412968c7f4ffb495379 (diff)
parent5313d2d78ca150515f7f5eb39801c100690b6b29 (diff)
downloadvyos-strongswan-a54780509260a8cb6f0344f531da168b34410dd5.tar.gz
vyos-strongswan-a54780509260a8cb6f0344f531da168b34410dd5.zip
Merge tag 'upstream/5.1.1'
Upstream version 5.1.1
Diffstat (limited to 'src/libtls/tls.h')
-rw-r--r--src/libtls/tls.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libtls/tls.h b/src/libtls/tls.h
index 7f45b1e09..db332fbbf 100644
--- a/src/libtls/tls.h
+++ b/src/libtls/tls.h
@@ -200,6 +200,13 @@ struct tls_t {
identification_t* (*get_server_id)(tls_t *this);
/**
+ * Set the peer identity.
+ *
+ * @param id peer identity
+ */
+ void (*set_peer_id)(tls_t *this, identification_t *id);
+
+ /**
* Return the peer identity.
*
* @return peer identity