diff options
Diffstat (limited to 'src/libtls/tls.h')
-rw-r--r-- | src/libtls/tls.h | 7 |
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 |