diff options
author | Rich Salz <rsalz@akamai.com> | 2015-05-02 11:19:06 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2015-05-04 15:14:26 -0400 |
commit | 45ddce21fa4c2fdcfe48fb3f7e0ca78531a7b922 (patch) | |
tree | 3b3dc2b5fccd57a75f71f6fcd887a5c46072d15d /test/ssltest.c | |
parent | 0fd75c7e6e8482489135beb3f536546f27f6d0e5 (diff) | |
download | openssl-45ddce21fa4c2fdcfe48fb3f7e0ca78531a7b922.zip openssl-45ddce21fa4c2fdcfe48fb3f7e0ca78531a7b922.tar.gz openssl-45ddce21fa4c2fdcfe48fb3f7e0ca78531a7b922.tar.bz2 |
Remove the fake RLE compression method.
RLE is a no-op only for testing. Remove it.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'test/ssltest.c')
-rw-r--r-- | test/ssltest.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/test/ssltest.c b/test/ssltest.c index 8b5ff3e..35df0f7 100644 --- a/test/ssltest.c +++ b/test/ssltest.c @@ -219,10 +219,9 @@ #endif /* - * There is really no standard for this, so let's assign some tentative - * numbers. In any case, these numbers are only for this test + * There is really no standard for this, so let's assign something + * only for this test */ -#define COMP_RLE 255 #define COMP_ZLIB 1 static int verify_callback(int ok, X509_STORE_CTX *ctx); @@ -804,7 +803,6 @@ static void sv_usage(void) fprintf(stderr, " -time - measure processor time used by client and server\n"); fprintf(stderr, " -zlib - use zlib compression\n"); - fprintf(stderr, " -rle - use rle compression\n"); #ifndef OPENSSL_NO_EC fprintf(stderr, " -named_curve arg - Elliptic curve name to use for ephemeral ECDH keys.\n" @@ -1212,8 +1210,6 @@ int main(int argc, char *argv[]) #ifndef OPENSSL_NO_COMP else if (strcmp(*argv, "-zlib") == 0) { comp = COMP_ZLIB; - } else if (strcmp(*argv, "-rle") == 0) { - comp = COMP_RLE; } #endif else if (strcmp(*argv, "-named_curve") == 0) { @@ -1376,8 +1372,6 @@ int main(int argc, char *argv[]) #ifndef OPENSSL_NO_COMP if (comp == COMP_ZLIB) cm = COMP_zlib(); - if (comp == COMP_RLE) - cm = COMP_rle(); if (cm != NULL) { if (cm->type != NID_undef) { if (SSL_COMP_add_compression_method(comp, cm) != 0) { @@ -1387,8 +1381,7 @@ int main(int argc, char *argv[]) } else { fprintf(stderr, "Warning: %s compression not supported\n", - (comp == COMP_RLE ? "rle" : - (comp == COMP_ZLIB ? "zlib" : "unknown"))); + comp == COMP_ZLIB ? "zlib" : "unknown"); ERR_print_errors_fp(stderr); } } |