aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-04-09 10:44:50 +0000
committerBodo Möller <bodo@openssl.org>1999-04-09 10:44:50 +0000
commitdae08db4a0d8bb972315988150187c9f091c557e (patch)
treeccbecd4260ab5c41d3d406f26a3a3b866682f992 /test
parentadbfb08354917072764c1f3b54463b15a4a2371d (diff)
downloadopenssl-dae08db4a0d8bb972315988150187c9f091c557e.tar.gz
Preprocessor file to allow testenc to test only those ciphers
that are available. Submitted by: Reviewed by: PR:
Diffstat (limited to 'test')
-rw-r--r--test/testenc_commands.c35
1 files changed, 35 insertions, 0 deletions
diff --git a/test/testenc_commands.c b/test/testenc_commands.c
new file mode 100644
index 0000000000..4a06acc1e9
--- /dev/null
+++ b/test/testenc_commands.c
@@ -0,0 +1,35 @@
+/* C preprocessor input for producing the list of openssl encryption commands
+ that should be available. Note that we use "_" instead of "-" in the names
+ so that each command looks like one symbol to the C preprocessor --
+ -- otherwise spaces might be inserted. */
+
+#ifndef NO_RC4
+rc4
+#endif
+
+#ifndef NO_DES
+des_cfb des_ede_cfb des_ede3_cfb
+des_ofb des_ede_ofb des_ede3_ofb
+des_ecb des_ede des_ede3 desx
+des_cbc des_ede_cbc des_ede3_cbc
+#endif
+
+#ifndef NO_IDEA
+idea_ecb idea_cfb idea_ofb idea_cbc
+#endif
+
+#ifndef NO_RC2
+rc2_ecb rc2_cfb rc2_ofb rc2_cbc
+#endif
+
+#ifndef NO_BLOWFISH
+bf_ecb bf_cfb bf_ofb bf_cbc
+#endif
+
+#ifndef NO_RC4
+rc4
+#endif
+
+#ifndef NO_CAST
+cast5_ecb cast5_cfb cast5_ofb cast5_cbc
+#endif