summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2014-05-02 18:06:12 +0000
committerjsing <jsing@openbsd.org>2014-05-02 18:06:12 +0000
commit01f1cebe9699b8e6152b960e96e434be84a55a2c (patch)
tree40de0da9cf675a6280c02f2a87094cf59a24d46e
parentremove crazy #undefs; ok jsing (diff)
downloadwireguard-openbsd-01f1cebe9699b8e6152b960e96e434be84a55a2c.tar.xz
wireguard-openbsd-01f1cebe9699b8e6152b960e96e434be84a55a2c.zip
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 },