Ensure that AES remains the preferred cipher at any given key length.
(This does not really require a special case for Camellia.)
This commit is contained in:
parent
8db10d9ac4
commit
2c12e7f6f5
@ -105,8 +105,7 @@ The following is a list of all permitted cipher strings and their meanings.
|
|||||||
=item B<DEFAULT>
|
=item B<DEFAULT>
|
||||||
|
|
||||||
the default cipher list. This is determined at compile time and is normally
|
the default cipher list. This is determined at compile time and is normally
|
||||||
B<ALL:!aNULL:!eNULL:+RC4:@STRENGTH> or
|
B<AES:ALL:!aNULL:!eNULL:+RC4:@STRENGTH>. This must be the first cipher string
|
||||||
B<AES:CAMELLIA:ALL!aNULL:!eNULL:+RC4:@STRENGTH>. This must be the first cipher string
|
|
||||||
specified.
|
specified.
|
||||||
|
|
||||||
=item B<COMPLEMENTOFDEFAULT>
|
=item B<COMPLEMENTOFDEFAULT>
|
||||||
|
@ -317,11 +317,7 @@ extern "C" {
|
|||||||
/* The following cipher list is used by default.
|
/* The following cipher list is used by default.
|
||||||
* It also is substituted when an application-defined cipher list string
|
* It also is substituted when an application-defined cipher list string
|
||||||
* starts with 'DEFAULT'. */
|
* starts with 'DEFAULT'. */
|
||||||
#ifdef OPENSSL_NO_CAMELLIA
|
#define SSL_DEFAULT_CIPHER_LIST "AES:ALL:!aNULL:!eNULL:+RC4:@STRENGTH" /* low priority for RC4 */
|
||||||
# define SSL_DEFAULT_CIPHER_LIST "ALL:!aNULL:!eNULL:+RC4:@STRENGTH" /* low priority for RC4 */
|
|
||||||
#else
|
|
||||||
# define SSL_DEFAULT_CIPHER_LIST "AES:CAMELLIA:ALL:!aNULL:!eNULL:+RC4:@STRENGTH" /* low priority for RC4 */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Used in SSL_set_shutdown()/SSL_get_shutdown(); */
|
/* Used in SSL_set_shutdown()/SSL_get_shutdown(); */
|
||||||
#define SSL_SENT_SHUTDOWN 1
|
#define SSL_SENT_SHUTDOWN 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user