From 73f68e27ca31c61d0d9272283e41d90f66f204e9 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Fri, 26 Apr 2013 21:55:10 -0700 Subject: [PATCH] Add missing return in crypto_stream_aes256estream_beforenm() --- src/libsodium/crypto_stream/aes256estream/hongjun/aes256-ctr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libsodium/crypto_stream/aes256estream/hongjun/aes256-ctr.c b/src/libsodium/crypto_stream/aes256estream/hongjun/aes256-ctr.c index 4f34f743..aae20dab 100644 --- a/src/libsodium/crypto_stream/aes256estream/hongjun/aes256-ctr.c +++ b/src/libsodium/crypto_stream/aes256estream/hongjun/aes256-ctr.c @@ -153,6 +153,7 @@ crypto_stream_beforenm(unsigned char *c, const unsigned char *k) ECRYPT_keysetup(ctx, k, crypto_stream_KEYBYTES * 8, crypto_stream_NONCEBYTES * 8); + return 0; } int