]> git.ipfire.org Git - thirdparty/tor.git/commit
crypto_cipher_set_key cannot fail
authorSebastian Hahn <sebastian@torproject.org>
Tue, 27 Oct 2009 03:31:23 +0000 (04:31 +0100)
committerSebastian Hahn <sebastian@torproject.org>
Tue, 27 Oct 2009 03:31:23 +0000 (04:31 +0100)
commit70abd843fd006cd25dadd388e5f4ff753c3a4668
treed3c14deb20557089f6f277cf3a47aecd54c6be18
parent174be15c1a062bb39298418a9c530f73557c4916
crypto_cipher_set_key cannot fail

In 5e4d53d535a3cc9903250b3df0caa829f1c5e4bf we made it so that
crypto_cipher_set_key cannot fail. The call will now
always succeed, to returning a boolean for success/failure makes
no sense.
src/common/crypto.c
src/common/crypto.h