Delegate tls_t.get_{peer,server}_id to handshake layer
authorMartin Willi <martin@revosec.ch>
Thu, 28 Feb 2013 10:39:55 +0000 (11:39 +0100)
committerMartin Willi <martin@revosec.ch>
Thu, 28 Feb 2013 15:46:08 +0000 (16:46 +0100)
commit2de481e32b95c558b96237c25a15bf2baa375e93
treeab8ddcd59c677b5426c9e826ced48f540c061d9b
parent2ae0c9e6181421fc589798c64276a6310f13f1a2
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.
src/libtls/tls.c
src/libtls/tls.h
src/libtls/tls_handshake.h
src/libtls/tls_peer.c
src/libtls/tls_peer.h
src/libtls/tls_server.c
src/libtls/tls_server.h