diff options
author | Rich Salz <rsalz@openssl.org> | 2015-02-02 11:11:34 -0500 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2015-02-02 11:11:34 -0500 |
commit | 9ccc00ef6ea65567622e40c49aca43f2c6d79cdb (patch) | |
tree | c6d8ee38c57de246455d61548d110cdde6834327 /crypto/ecdh | |
parent | 7aa0b022460e1a7bfdf5c70e8cd084d916bac012 (diff) |
Dead code cleanup: #if 0 dropped from tests
Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'crypto/ecdh')
-rw-r--r-- | crypto/ecdh/ecdhtest.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/crypto/ecdh/ecdhtest.c b/crypto/ecdh/ecdhtest.c index 5aed2b124b..41725f6a8d 100644 --- a/crypto/ecdh/ecdhtest.c +++ b/crypto/ecdh/ecdhtest.c @@ -92,10 +92,6 @@ int main(int argc, char *argv[]) # include <openssl/ec.h> # include <openssl/ecdh.h> -# if 0 -static void cb(int p, int n, void *arg); -# endif - static const char rnd_seed[] = "string to make the random number generator think it has entropy"; @@ -544,22 +540,4 @@ int main(int argc, char *argv[]) CRYPTO_mem_leaks_fp(stderr); EXIT(ret); } - -# if 0 -static void cb(int p, int n, void *arg) -{ - char c = '*'; - - if (p == 0) - c = '.'; - if (p == 1) - c = '+'; - if (p == 2) - c = '*'; - if (p == 3) - c = '\n'; - BIO_write((BIO *)arg, &c, 1); - (void)BIO_flush((BIO *)arg); -} -# endif #endif |