Skip to content

backport droplet bugfix from bareos/master#6

Merged
franku merged 9 commits intobareos-masterfrom
dev/franku/bareos-master/backport-droplet-bugfix-from-master
Mar 25, 2021
Merged

backport droplet bugfix from bareos/master#6
franku merged 9 commits intobareos-masterfrom
dev/franku/bareos-master/backport-droplet-bugfix-from-master

Conversation

@franku
Copy link

@franku franku commented Mar 25, 2021

Merge https bugfixes for libdroplet from pull request #765 for bareos/master

This PR tries to solve that buckets randomly are too small by one or two bytes leading to failed or hanging jobs, give a better readability of the code

These things were changed or added:
  • refactor some code that writes data to the ssl interface
  • formatted all libdroplet code to bareos format style
  • repaired or added libdroplet header guards

franku and others added 9 commits March 25, 2021 18:49
- changed default method to TLS_method() for openSSL >= 1.1.0
- replaced or removed several deprecated methods depending on the
  openSSL version
- replaced the default cipher list by the bareos default so it
  can use TLSv1.3, too
- snprintf will truncate at least one of the input strings if the buffer
  is not large enough to hold both strings
- the buffer is now dynamically allocated depending on the string
  lengths
the imported droplet sources had header guard symbols not following any
standard. This patch replaces them by symbols like the others we use in
Bareos.
- disable automatic copyright check if not applicable
@franku franku merged commit 4d66512 into bareos-master Mar 25, 2021
@franku franku deleted the dev/franku/bareos-master/backport-droplet-bugfix-from-master branch March 25, 2021 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments