Repository navigation
Commit dd23cd2
authored
crypto: use const STACK_OF(SSL_CIPHER)* for SSL_get_ciphers
BoringSSL is updating SSL_get_ciphers and SSL_CTX_get_ciphers to return
const STACK_OF(SSL_CIPHER)* instead of a non-const pointer. Declare the
local ciphers variable in SSLPointer::getCiphers as const so it builds
cleanly against both OpenSSL and BoringSSL.
Refs: https://crbug.com/550501994
Signed-off-by: Lily Chen <chlily@google.com>
PR-URL: #67443
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Tim Perry <pimterry@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent bd08ba3 commit dd23cd2
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5213 | 5213 | | |
5214 | 5214 | | |
5215 | 5215 | | |
5216 | | - | |
| 5216 | + | |
5217 | 5217 | | |
5218 | 5218 | | |
5219 | 5219 | | |
| |||
0 commit comments