backtrace openssl_verify errors so that we can find bad keys - as there is very little relevant context available at this level.

This commit is contained in:
redmatrix
2016-02-25 14:34:30 -08:00
parent ebfa1a12b9
commit 7972de13ca
3 changed files with 21 additions and 5 deletions

View File

@@ -126,7 +126,7 @@ function queue_deliver($outq, $immediate = false) {
remove_queue_item($outq['outq_hash']);
// server is responding - see if anything else is going to this destination and is piled up
// and try to send some more. We're relying on the fact that delivery_loop() results in an
// and try to send some more. We're relying on the fact that do_delivery() results in an
// immediate delivery otherwise we could get into a queue loop.
if(! $immediate) {
@@ -141,7 +141,7 @@ function queue_deliver($outq, $immediate = false) {
}
}
if($piled_up) {
delivery_loop($piled_up);
do_delivery($piled_up);
}
}
}