[EDIT: this posted before I was finished testing originally, feel free to delete until I test further to see if problem was elsewhere]
MariaDB v10 still uses the --ssl flag instead of --ssl-mode=REQUIRED, but nodot_ver for it returns a number greater than 56. This causes the wrong flag to be added if CONFIG_mysql_dump_usessl is true.