diff options
author | Bodo Möller <bodo@openssl.org> | 2007-02-20 13:25:36 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2007-02-20 13:25:36 +0000 |
commit | e041863905bc2222214d1f0503a560ef2f43b2f8 (patch) | |
tree | cccc6787615d4a77b0211fc86d2d19d7c1687cd1 /ssl/ssl_ciph.c | |
parent | 0a05123a6c90390c1290fe3bc119f1daf256b834 (diff) |
fix a typo in the new ciphersuite ordering code
Diffstat (limited to 'ssl/ssl_ciph.c')
-rw-r--r-- | ssl/ssl_ciph.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ssl/ssl_ciph.c b/ssl/ssl_ciph.c index 787aec1e31..a9d11ca474 100644 --- a/ssl/ssl_ciph.c +++ b/ssl/ssl_ciph.c @@ -1134,10 +1134,11 @@ STACK_OF(SSL_CIPHER) *ssl_create_cipher_list(const SSL_METHOD *ssl_method, * authenticated ciphers.) */ ssl_cipher_apply_rule(0, 0, SSL_aNULL, 0, 0, 0, 0, CIPHER_ORD, -1, &head, &tail); - /* Move ciphers without forward secrecy to then end */ + /* Move ciphers without forward secrecy to the end */ ssl_cipher_apply_rule(0, 0, SSL_aECDH, 0, 0, 0, 0, CIPHER_ORD, -1, &head, &tail); + /* ssl_cipher_apply_rule(0, 0, SSL_aDH, 0, 0, 0, 0, CIPHER_ORD, -1, &head, &tail); */ ssl_cipher_apply_rule(0, SSL_kRSA, 0, 0, 0, 0, 0, CIPHER_ORD, -1, &head, &tail); - ssl_cipher_apply_rule(0, 0, SSL_kPSK, 0, 0, 0, 0, CIPHER_ORD, -1, &head, &tail); + ssl_cipher_apply_rule(0, SSL_kPSK, 0,0, 0, 0, 0, CIPHER_ORD, -1, &head, &tail); /* RC4 is sort-of broken -- move the the end */ ssl_cipher_apply_rule(0, 0, 0, SSL_RC4, 0, 0, 0, CIPHER_ORD, -1, &head, &tail); |