---
 libavutil/blowfish.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavutil/blowfish.c b/libavutil/blowfish.c
index 5a0bc10..f4ef953 100644
--- a/libavutil/blowfish.c
+++ b/libavutil/blowfish.c
@@ -546,6 +546,8 @@ int main(void)
 
     test_blowfish(&ctx, tmp, plaintext, ciphertext, 1, NULL, 0, "encryption");
     test_blowfish(&ctx, tmp, ciphertext, plaintext, 1, NULL, 1, "decryption");
+    test_blowfish(&ctx, tmp, tmp, ciphertext, 1, NULL, 0, "Inplace 
encryption");
+    test_blowfish(&ctx, tmp, tmp, plaintext,  1, NULL, 1, "Inplace 
decryption");
 
     memcpy(tmptext_l, plaintext_l, sizeof(*plaintext_l) * 
NUM_VARIABLE_KEY_TESTS);
     memcpy(tmptext_r, plaintext_r, sizeof(*plaintext_r) * 
NUM_VARIABLE_KEY_TESTS);
-- 
1.7.9.4

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to