- Notifications
You must be signed in to change notification settings - Fork28
Commitf352f91
committed
Remove duplicate setting of SSL_OP_SINGLE_DH_USE option.
Commitc0a15e0 moved the setting of OpenSSL's SSL_OP_SINGLE_DH_USE optioninto a new subroutine initialize_dh(), but forgot to remove it from whereit was. SSL_CTX_set_options() is a trivial function, amounting indeed tojust "ctx->options |= op", hence there's no reason to contort the code orbreak separation of concerns to avoid calling it twice. So separating theDH setup from disabling of old protocol versions is a good change, but weneed to finish the job.Noted while poking into the question of SSL session tickets.1 parent41cefbb commitf352f91
1 file changed
+1
-3
lines changedLines changed: 1 addition & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
286 | 286 |
| |
287 | 287 |
| |
288 | 288 |
| |
289 |
| - | |
290 |
| - | |
291 |
| - | |
| 289 | + | |
292 | 290 |
| |
293 | 291 |
| |
294 | 292 |
| |
|
0 commit comments
Comments
(0)