Skip to content

Unit dynamc/IdOpenSSLHeaders_conf does not compile with fpc #15

@MWASoftware

Description

@MWASoftware

This issue applies to branch NewOpenSSL_PR

Line 164 is:
NCONF_dump_bio: function(const conf: PCONf; out: PBIO): TIdC_INT cdecl = nil;

FPC complains about the ':' after the reserved word "out". Either the ':' is wrong (this is an "out" argument) or "out" needs to changed to a non-reserved word.

In the original .h file, the declaration is

int CONF_dump_bio(LHASH_OF(CONF_VALUE) *conf, BIO *out);

Hence it looks "out" was simply copied as the argument name from the 'C' header file. It is proposed to fix the compile time issue by changing line 164 to

NCONF_dump_bio: function(const conf: PCONf; out_: PBIO): TIdC_INT cdecl = nil;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions