diff --git a/libtransmission/crypto.c b/libtransmission/crypto.c index 1b85450ca..68a696dd8 100644 --- a/libtransmission/crypto.c +++ b/libtransmission/crypto.c @@ -375,7 +375,7 @@ tr_ssha1( const void * plaintext ) uint8_t sha[SHA_DIGEST_LENGTH]; char buf[2*SHA_DIGEST_LENGTH + saltval_len + 2]; - for( i=0; i<=saltval_len; ++i ) + for( i=0; i