Skip to content

RAND_DRBG_USED_FLAGS is problematic for ABI compat #7182

@mattcaswell

Description

@mattcaswell

The new DRBG API includes a define for RAND_DRBG_USED_FLAGS in the public header file. This is problematic for ABI compatibility. It seems to imply that we can't add new flags in ABI compat releases. If we do applications compiled against a previous release will not be using the correct value if linking at run time against a newer OpenSSL version with a different value for this define.

/* A logical OR of all used flag bits (currently there is only one) */
# define RAND_DRBG_USED_FLAGS ( \
RAND_DRBG_FLAG_CTR_NO_DF \
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions