diff options
author | jsing <> | 2014-05-01 16:06:24 +0000 |
---|---|---|
committer | jsing <> | 2014-05-01 16:06:24 +0000 |
commit | 8adb3dbae070d097e78bcc87a567ccd28d073da5 (patch) | |
tree | 7c3bd1b71964d068f0975d770db3b39f16cf4756 /src/regress/lib/libcrypto/evp/evptest.c | |
parent | 01bc5de569d5ec2e77fcaec43eae5ce76f9c3800 (diff) | |
download | openbsd-8adb3dbae070d097e78bcc87a567ccd28d073da5.tar.gz openbsd-8adb3dbae070d097e78bcc87a567ccd28d073da5.tar.bz2 openbsd-8adb3dbae070d097e78bcc87a567ccd28d073da5.zip |
Provide an EVP implementation for ChaCha.
ok miod@
Diffstat (limited to 'src/regress/lib/libcrypto/evp/evptest.c')
-rw-r--r-- | src/regress/lib/libcrypto/evp/evptest.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/regress/lib/libcrypto/evp/evptest.c b/src/regress/lib/libcrypto/evp/evptest.c index 164d8f3e01..de1bcce41d 100644 --- a/src/regress/lib/libcrypto/evp/evptest.c +++ b/src/regress/lib/libcrypto/evp/evptest.c | |||
@@ -429,6 +429,13 @@ int main(int argc,char **argv) | |||
429 | continue; | 429 | continue; |
430 | } | 430 | } |
431 | #endif | 431 | #endif |
432 | #ifdef OPENSSL_NO_CHACHA | ||
433 | if (strstr(cipher, "ChaCha") == cipher) | ||
434 | { | ||
435 | fprintf(stdout, "Cipher disabled, skipping %s\n", cipher); | ||
436 | continue; | ||
437 | } | ||
438 | #endif | ||
432 | fprintf(stderr,"Can't find %s\n",cipher); | 439 | fprintf(stderr,"Can't find %s\n",cipher); |
433 | exit(3); | 440 | exit(3); |
434 | } | 441 | } |