Branch: Tag:

2015-12-14

2015-12-14 16:16:06 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL: More cipher strength fixes.

The get_suites() API differs between Pike 7.8 and 8.0.

The removed symbol preferred_rsa_suites was replaced by a getter, so it
isn't a suitable symbol to use to detect the presence of get_suites().

227:    "file, leave this field empty to use the "    "certificate file only.")));    - #if !constant(SSL.Constants.preferred_rsa_suites) + #if constant(SSL.Constants.CIPHER_aead) +  // NB: This constant was added a few days after get_suites() in Pike 8.0, +  // and a single day after get_suites() in the backport to Pike 7.8. +     // Pike 8.0 or recent Pike 7.8.    // They have SSL.[Cc]ontext()->get_suites().