summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2014-05-02 18:06:13 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2014-05-02 18:06:13 +0000
commite4b40efdf8a8ccefc907ef51ea2133b2903b3462 (patch)
tree16b7fe9c9f2ae311520e2a0b0cd74f3445f0ea24
parentc74171831b46f2c90c9663c0442aca6b90c516be (diff)
Add ChaCha as a cipher.
ok beck@ miod@
-rw-r--r--lib/libssl/src/apps/progs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libssl/src/apps/progs.h b/lib/libssl/src/apps/progs.h
index 59a7b787126..7fb346e7e54 100644
--- a/lib/libssl/src/apps/progs.h
+++ b/lib/libssl/src/apps/progs.h
@@ -186,6 +186,9 @@ FUNCTION functions[] = {
{ FUNC_TYPE_CIPHER, "cast5-ofb", enc_main },
{ FUNC_TYPE_CIPHER, "cast-cbc", enc_main },
#endif
+#ifndef OPENSSL_NO_CHACHA
+ { FUNC_TYPE_CIPHER, "chacha", enc_main },
+#endif
#ifndef OPENSSL_NO_DES
{ FUNC_TYPE_CIPHER, "des", enc_main },
{ FUNC_TYPE_CIPHER, "des3", enc_main },