X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fopenssl%2Fcipher.c;h=b2edcc75d625908dd94fb1f56fc0bd4de9c91daf;hp=abd652c443121ec184208f18cc9ab10eed1df803;hb=d917c8cb6b69475d568ccbe82389b9f2b3eb5e80;hpb=58f4b845b9a7d83739af77337f2ce263d8df7838 diff --git a/src/openssl/cipher.c b/src/openssl/cipher.c index abd652c4..b2edcc75 100644 --- a/src/openssl/cipher.c +++ b/src/openssl/cipher.c @@ -143,7 +143,7 @@ bool cipher_counter_xor(cipher_t *cipher, const void *indata, size_t inlen, void unsigned char *out = outdata; while(inlen--) { - // Encrypt the new counter value if we need it + // Encrypt the new counter value if we need it if(!cipher->counter->n) { int len; if(!EVP_EncryptUpdate(&cipher->ctx, cipher->counter->block, &len, cipher->counter->counter, cipher->cipher->block_size)) {