When finding private keys fail, return error code.
commitb0cf82c468eed213e26e91241a34f08f12a9ac4e
authorStef Walter <stefw@collabora.co.uk>
Mon, 1 Aug 2011 09:11:01 +0000 (1 11:11 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 1 Aug 2011 16:09:45 +0000 (1 18:09 +0200)
tree581a00d8fd64cbfaa203504f8c636e1d59d30529
parent19e57ff21061f4523e4ab91228103d32a118b108
When finding private keys fail, return error code.

 * Previously this would result in an endless loop.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
lib/pkcs11_privkey.c