- Notifications
You must be signed in to change notification settings - Fork4.9k
Commite84e476
committed
Clear OpenSSL error queue after failed X509_STORE_load_locations() call.
Leaving the error in the error queue used to be harmless, because theX509_STORE_load_locations() call used to be the last step ininitialize_SSL(), and we would clear the queue before the nextSSL_connect() call. But previous commit moved things around. The symptomwas that if a CRL file was not found, and one of the subsequentinitialization steps, like loading the client certificate or private key,failed, we would incorrectly print the "no such file" error message fromthe earlier X509_STORE_load_locations() call as the reason.Backpatch to all supported versions, like the previous patch.1 parente76d06d commite84e476
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1119 | 1119 |
| |
1120 | 1120 |
| |
1121 | 1121 |
| |
| 1122 | + | |
1122 | 1123 |
| |
1123 | 1124 |
| |
1124 | 1125 |
| |
|
0 commit comments
Comments
(0)