Add a tls_keypair_clear_key() function that uses freezero() to make key
authorjsing <jsing@openbsd.org>
Sun, 30 Apr 2017 02:10:22 +0000 (02:10 +0000)
committerjsing <jsing@openbsd.org>
Sun, 30 Apr 2017 02:10:22 +0000 (02:10 +0000)
commit72fba84d430ad089a553e19fc3102874d2695f05
tree39545ec5c2e11f3bef062d28980b8c7d8bae5896
parent6f1892dc3e84e016a8722cb62152ff86f788c027
Add a tls_keypair_clear_key() function that uses freezero() to make key
material inaccessible, then call it from the appropriate places.

ok beck@
lib/libtls/tls_config.c