Pārlūkot izejas kodu

Remove a few more remnants of RC4/TLS.

Change-Id: I5d7fd9ba0688a3ebd6f6d36768cc3c0e33e2da52
Reviewed-on: https://boringssl-review.googlesource.com/11081
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
Reviewed-by: Matt Braithwaite <mab@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
kris/onging/CECPQ3_patch15
David Benjamin pirms 8 gadiem
committed by CQ bot account: commit-bot@chromium.org
vecāks
revīzija
9a5f49eec0
2 mainītis faili ar 4 papildinājumiem un 18 dzēšanām
  1. +4
    -4
      include/openssl/ssl.h
  2. +0
    -14
      ssl/test/runner/runner.go

+ 4
- 4
include/openssl/ssl.h Parādīt failu

@@ -1259,9 +1259,9 @@ OPENSSL_EXPORT int SSL_CIPHER_get_bits(const SSL_CIPHER *cipher,
* corresponding |k*| or |a*| cipher rule. |RSA| is an alias for |kRSA|, not
* |aRSA|.
*
* |3DES|, |RC4|, |AES128|, |AES256|, |AES|, |AESGCM|, |CHACHA20| match
* ciphers whose bulk cipher use the corresponding encryption scheme. Note
* that |AES|, |AES128|, and |AES256| match both CBC and GCM ciphers.
* |3DES|, |AES128|, |AES256|, |AES|, |AESGCM|, |CHACHA20| match ciphers
* whose bulk cipher use the corresponding encryption scheme. Note that
* |AES|, |AES128|, and |AES256| match both CBC and GCM ciphers.
*
* |MD5|, |SHA1|, |SHA256|, and |SHA384| match legacy cipher suites using the
* corresponding hash function in their MAC. AEADs are matched by none of
@@ -1277,7 +1277,7 @@ OPENSSL_EXPORT int SSL_CIPHER_get_bits(const SSL_CIPHER *cipher,
* |kEDH|, |EDH|, |kEECDH|, and |EECDH| are legacy aliases for |kDHE|, |DHE|,
* |kECDHE|, and |ECDHE|, respectively.
*
* |MEDIUM| and |HIGH| match RC4-based ciphers and all others, respectively.
* |HIGH| is an alias for |ALL|.
*
* |FIPS| is an alias for |HIGH|.
*


+ 0
- 14
ssl/test/runner/runner.go Parādīt failu

@@ -62,7 +62,6 @@ var (
looseErrors = flag.Bool("loose-errors", false, "If true, allow shims to report an untranslated error code.")
shimConfigFile = flag.String("shim-config", "", "A config file to use to configure the tests for this shim.")
includeDisabled = flag.Bool("include-disabled", false, "If true, also runs disabled tests.")
includeRC4 = flag.Bool("include-rc4", false, "If true, test RC4 ciphersuites.")
)

// ShimConfigurations is used with the “json” package and represents a shim
@@ -2312,19 +2311,6 @@ func addBasicTests() {
func addCipherSuiteTests() {
const bogusCipher = 0xfe00

if *includeRC4 {
testCipherSuites = append(testCipherSuites, []struct {
name string
id uint16
}{
{"ECDHE-ECDSA-RC4-SHA", TLS_ECDHE_ECDSA_WITH_RC4_128_SHA},
{"ECDHE-RSA-RC4-SHA", TLS_ECDHE_RSA_WITH_RC4_128_SHA},
{"PSK-RC4-SHA", TLS_PSK_WITH_RC4_128_SHA},
{"RC4-MD5", TLS_RSA_WITH_RC4_128_MD5},
{"RC4-SHA", TLS_RSA_WITH_RC4_128_SHA},
}...)
}

for _, suite := range testCipherSuites {
const psk = "12345"
const pskIdentity = "luggage combo"


Notiek ielāde…
Atcelt
Saglabāt