cipher, hmac: retrieve and print info for each session
commit5928beddeea95fe9f55e65c6b2787a338fc7e2e2
authorPhil Sutter <phil.sutter@viprinet.com>
Fri, 17 Dec 2010 17:52:33 +0000 (17 18:52 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sun, 19 Dec 2010 04:22:33 +0000 (19 05:22 +0100)
treec6af955a28ffe59f835bfbc5c0f9cfa481374a2c
parentd03985aa868d29e7a68cabd056a7d28bd8d38b74
cipher, hmac: retrieve and print info for each session

In order to stay compatible with the original BSD interface, one can
check for existence of the CIOCGSESSINFO define, like done here.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
examples/cipher.c
examples/hmac.c