aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2007-02-20 13:25:36 +0000
committerBodo Möller <bodo@openssl.org>2007-02-20 13:25:36 +0000
commite041863905bc2222214d1f0503a560ef2f43b2f8 (patch)
treecccc6787615d4a77b0211fc86d2d19d7c1687cd1
parent0a05123a6c90390c1290fe3bc119f1daf256b834 (diff)
downloadopenssl-e041863905bc2222214d1f0503a560ef2f43b2f8.zip
openssl-e041863905bc2222214d1f0503a560ef2f43b2f8.tar.gz
openssl-e041863905bc2222214d1f0503a560ef2f43b2f8.tar.bz2
fix a typo in the new ciphersuite ordering code
-rw-r--r--ssl/ssl_ciph.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ssl/ssl_ciph.c b/ssl/ssl_ciph.c
index 787aec1..a9d11ca 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);