diff options
author | Martin Willi <martin@revosec.ch> | 2013-02-28 11:39:55 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2013-02-28 16:46:08 +0100 |
commit | 2de481e32b95c558b96237c25a15bf2baa375e93 (patch) | |
tree | ab8ddcd59c677b5426c9e826ced48f540c061d9b /src/libtls/tls.h | |
parent | 2ae0c9e6181421fc589798c64276a6310f13f1a2 (diff) | |
download | strongswan-2de481e32b95c558b96237c25a15bf2baa375e93.tar.bz2 strongswan-2de481e32b95c558b96237c25a15bf2baa375e93.tar.xz |
Delegate tls_t.get_{peer,server}_id to handshake layer
This allows to get updated peer identities if the peer can't authenticate,
or does when it is optional.
Diffstat (limited to 'src/libtls/tls.h')
-rw-r--r-- | src/libtls/tls.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libtls/tls.h b/src/libtls/tls.h index c8186b829..7f45b1e09 100644 --- a/src/libtls/tls.h +++ b/src/libtls/tls.h @@ -193,16 +193,16 @@ struct tls_t { bool (*is_server)(tls_t *this); /** - * Return the server identity + * Return the server identity. * - * @return Server identity + * @return server identity */ identification_t* (*get_server_id)(tls_t *this); /** - * Return the peer identity + * Return the peer identity. * - * @return Peer identity + * @return peer identity */ identification_t* (*get_peer_id)(tls_t *this); |