Repository navigation
Commit 4e4b18c
committed
gh-162141: Use const STACK_OF(SSL_CIPHER)* for SSL_get_ciphers
const-correct two local variables: they are only read via
sk_SSL_CIPHER_num() and sk_SSL_CIPHER_value(), which take a const stack,
so this is a no-op for existing builds. Also matches BoringSSL's planned
change to return const STACK_OF(SSL_CIPHER)* from SSL_get_ciphers() and
SSL_CTX_get_ciphers() (https://crbug.com/550501994).1 parent 910a92b commit 4e4b18c
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2297 | 2297 | | |
2298 | 2298 | | |
2299 | 2299 | | |
2300 | | - | |
| 2300 | + | |
| 2301 | + | |
| 2302 | + | |
2301 | 2303 | | |
2302 | 2304 | | |
2303 | 2305 | | |
| |||
3953 | 3955 | | |
3954 | 3956 | | |
3955 | 3957 | | |
3956 | | - | |
| 3958 | + | |
3957 | 3959 | | |
3958 | 3960 | | |
3959 | 3961 | | |
| |||
0 commit comments