Set enctype in crypto_tests to prevent memory leaks
authorEzra Peisach <epeisach@mit.edu>
Fri, 8 Jan 2010 03:43:37 +0000 (03:43 +0000)
committerEzra Peisach <epeisach@mit.edu>
Fri, 8 Jan 2010 03:43:37 +0000 (03:43 +0000)
commit5be0ba2a546fd4f112107cc15790782d2198d4e1
tree973cd95b9f2d314108fe09394311b57fe49e1761
parentf6b381170552b311793a593e10e2108a10b0397b
Set enctype in crypto_tests to prevent memory leaks

The key caching is causing memory leaks if enctype is not set as the
enctype specific cleanup handlers are not called.

ticket: 6627
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23611 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/crypto/crypto_tests/aes-test.c
src/lib/crypto/crypto_tests/t_cts.c