Update from 0.9.8-stable.
authorDr. Stephen Henson <steve@openssl.org>
Tue, 7 Apr 2009 12:11:21 +0000 (12:11 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 7 Apr 2009 12:11:21 +0000 (12:11 +0000)
ssl/ssl_ciph.c

index 080b00a..87c5f61 100644 (file)
@@ -1447,6 +1447,7 @@ STACK_OF(SSL_CIPHER) *ssl_create_cipher_list(const SSL_METHOD *ssl_method,
        *cipher_list_by_id = tmp_cipher_list;
        (void)sk_SSL_CIPHER_set_cmp_func(*cipher_list_by_id,ssl_cipher_ptr_id_cmp);
 
+       sk_SSL_CIPHER_sort(*cipher_list_by_id);
        return(cipherstack);
        }