Skip to content

UTF8 BOM should be ignored when reading the configuration file #13840

@beldmit

Description

@beldmit

Some (mostly Windows-based) text editors add the UTF8 BOM to the beginnig of text files.
If it happens, the 1st line of the config file (e.g. openssl_conf = openssl_init) is ignored.

I've fixed a similar issue for the PEM files some time ago, maybe it's worth having a more universal solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    branch: 1.0.2Applies to OpenSSL_1_0_2-stable branch (EOL)branch: 1.1.1Applies to OpenSSL_1_1_1-stable branch (EOL)branch: masterApplies to master branchtriaged: bugThe issue/pr is/fixes a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions