diff options
author | Roger Dingledine <arma@torproject.org> | 2003-06-18 07:44:48 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2003-06-18 07:44:48 +0000 |
commit | 968d31162b685d8f9e53a46124d4d12cba81d8b4 (patch) | |
tree | 61f33d7a261292f5ac69849b521b05cd5af35c34 /src/common/crypto.c | |
parent | 8d4cd5d604b22823754190ceb5c2126a15b7cf76 (diff) | |
download | tor-968d31162b685d8f9e53a46124d4d12cba81d8b4.tar.gz tor-968d31162b685d8f9e53a46124d4d12cba81d8b4.zip |
fix typos, streamline
svn:r337
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r-- | src/common/crypto.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c index 86851a14b0..8367018839 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -179,7 +179,7 @@ crypto_create_init_cipher(int cipher_type, char *key, char *iv, int encrypt_mode r = crypto_cipher_decrypt_init_cipher(crypto); if (r) { - log_fn(LOG_ERR, "Unabble to initialize cipher: %s", crypto_perror()); + log_fn(LOG_ERR, "Unable to initialize cipher: %s", crypto_perror()); goto error; } return crypto; @@ -800,7 +800,6 @@ int crypto_seed_rng() f = fopen(filenames[i], "rb"); if (!f) continue; log_fn(LOG_INFO, "Seeding RNG from %s", filenames[i]); - buf[20]='\xff'; n = fread(buf, 1, 20, f); fclose(f); if (n != 20) { |