diff options
author | Ulf Möller <ulf@openssl.org> | 1999-04-27 01:14:46 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 1999-04-27 01:14:46 +0000 |
commit | f5d7a031a3c3e7b1700a67d6dc19daf3718ce6ee (patch) | |
tree | f5db72824de4586c35cef513ed48aff0d4b69a6b /crypto/des/destest.c | |
parent | b64f825671861144e1c24f2a5498a95a083021cd (diff) | |
download | openssl-f5d7a031a3c3e7b1700a67d6dc19daf3718ce6ee.tar.gz |
New Configure option no-<cipher> (rsa, idea, rc5, ...).
Diffstat (limited to 'crypto/des/destest.c')
-rw-r--r-- | crypto/des/destest.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/crypto/des/destest.c b/crypto/des/destest.c index 6b67e34cef..107635fcec 100644 --- a/crypto/des/destest.c +++ b/crypto/des/destest.c @@ -70,6 +70,14 @@ #include <io.h> #endif #include <string.h> + +#ifdef NO_DES +int main(int argc, char *argv[]) +{ + printf("No DES support\n"); + return(0); +} +#else #include <openssl/des.h> #if defined(PERL5) || defined(__FreeBSD__) @@ -318,6 +326,7 @@ int main(int argc, char *argv[]) int num; char *str; +#ifndef NO_DESCBCM printf("Doing cbcm\n"); if ((j=des_key_sched(cbc_key,ks)) != 0) { @@ -368,7 +377,7 @@ int main(int argc, char *argv[]) printf("\n"); err=1; } - +#endif printf("Doing ecb\n"); for (i=0; i<NUM_TESTS; i++) @@ -908,4 +917,4 @@ static int ede_cfb64_test(unsigned char *cfb_cipher) } #endif - +#endif |