~aritra1911/openssl_madness

7cb7d4cddc3f7256284f644ac99e628439724148 — Aritra Sarkar 2 years ago 5466b12 master
Fix aes spitting garbage on Linux
1 files changed, 1 insertions(+), 1 deletions(-)

M aes.c
M aes.c => aes.c +1 -1
@@ 9,7 9,7 @@ int do_crypt(FILE *in, FILE *out, int do_encrypt)
{
    /* Allow enough space in output buffer for additional block */
    unsigned char inbuf[1024], outbuf[1024 + EVP_MAX_BLOCK_LENGTH];
    size_t inlen, outlen;
    size_t inlen, outlen=0;
    EVP_CIPHER_CTX *ctx;
    /*
     * Bogus key and IV: we'd normally set these from