Commit 43c57d0
committed
Change signature for set_select_certificate_callback
To handle lifetimes better and allow returning a &mut SslRef from
the client hello struct passed to the closure from
SslContextBuilder::set_select_certificate_callback, we make
the ClientHello struct itself own a reference to the FFI
client hello struct.1 parent c1d690d commit 43c57d0
2 files changed
Lines changed: 14 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
| 226 | + | |
227 | 227 | | |
228 | 228 | | |
229 | | - | |
| 229 | + | |
230 | 230 | | |
231 | | - | |
232 | | - | |
233 | | - | |
| 231 | + | |
| 232 | + | |
234 | 233 | | |
235 | 234 | | |
236 | 235 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1361 | 1361 | | |
1362 | 1362 | | |
1363 | 1363 | | |
| 1364 | + | |
1364 | 1365 | | |
1365 | 1366 | | |
1366 | 1367 | | |
| |||
1370 | 1371 | | |
1371 | 1372 | | |
1372 | 1373 | | |
1373 | | - | |
| 1374 | + | |
1374 | 1375 | | |
1375 | 1376 | | |
1376 | 1377 | | |
| |||
1945 | 1946 | | |
1946 | 1947 | | |
1947 | 1948 | | |
1948 | | - | |
| 1949 | + | |
1949 | 1950 | | |
1950 | | - | |
| 1951 | + | |
1951 | 1952 | | |
1952 | 1953 | | |
1953 | 1954 | | |
| |||
1958 | 1959 | | |
1959 | 1960 | | |
1960 | 1961 | | |
1961 | | - | |
| 1962 | + | |
1962 | 1963 | | |
1963 | 1964 | | |
1964 | 1965 | | |
1965 | 1966 | | |
1966 | 1967 | | |
1967 | 1968 | | |
1968 | 1969 | | |
1969 | | - | |
| 1970 | + | |
| 1971 | + | |
| 1972 | + | |
| 1973 | + | |
| 1974 | + | |
1970 | 1975 | | |
1971 | 1976 | | |
1972 | 1977 | | |
| |||
0 commit comments