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

index 080b00a50140368b47a85ec95527ebb1f48f9385..87c5f61670007305f8c7777068b9c6fb294e2056 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);
        }