mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-21 14:33:55 +00:00
Fix a typo
This commit is contained in:
+1
-1
@@ -497,7 +497,7 @@ stream_decrypt(buffer_t *ciphertext, cipher_ctx_t *cipher_ctx, size_t capacity)
|
||||
plaintext->len = ciphertext->len;
|
||||
|
||||
if (!cipher_ctx->init) {
|
||||
if (plaintext->len <= nonce_len)
|
||||
if (ciphertext->len <= cipher->nonce_len)
|
||||
return CRYPTO_ERROR;
|
||||
|
||||
uint8_t *nonce = cipher_ctx->nonce;
|
||||
|
||||
Reference in New Issue
Block a user