openssl/openssl

Creating OpenSSL binaries with Control flow guard enabled fails with multiple test failure

Open

#22,554 opened on Oct 30, 2023

View on GitHub
 (17 comments) (0 reactions) (0 assignees)C (11,262 forks)batch import
branch: masterhelp wantedtriaged: feature

Repository metrics

Stars
 (30,157 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

I am trying to create a non-shared fips enabled build with control flow guard enabled:

command used: perl Configure VC-WIN64A enable-fips enable-capieng --prefix=D:\opensslBuild\x64\dll --openssldir=D:\opensslBuild\openssldir no-shared CFLAGS=/guard:cf LDFLAGS=/guard:cf LIB_CFLAGS=/guard:cf

This is failing with multiple test failures.

Without using CFLAGS=/guard:cf LDFLAGS=/guard:cf LIB_CFLAGS=/guard:cf , Build is successfuly created.

Contributor guide