File openssl-1.0.1e-add-suse-default-cipher.patch of Package openssl
Index: openssl-1.0.1f/ssl/ssl_ciph.c
===================================================================
--- openssl-1.0.1f.orig/ssl/ssl_ciph.c
+++ openssl-1.0.1f/ssl/ssl_ciph.c
@@ -1470,7 +1470,17 @@ STACK_OF(SSL_CIPHER) *ssl_create_cipher_
*/
ok = 1;
rule_p = rule_str;
- if (strncmp(rule_str,"DEFAULT",7) == 0)
+
+ if (strncmp(rule_str,"DEFAULT_SUSE",12) == 0)
+ {
+ ok = ssl_cipher_process_rulestr(SSL_DEFAULT_SUSE_CIPHER_LIST,
+ &head, &tail, ca_list);
+ rule_p += 12;
+ if (*rule_p == ':')
+ rule_p++;
+ }
+
+ else if (strncmp(rule_str,"DEFAULT",7) == 0)
{
ok = ssl_cipher_process_rulestr(SSL_DEFAULT_CIPHER_LIST,
&head, &tail, ca_list);