acvpparser icon indicating copy to clipboard operation
acvpparser copied to clipboard

make openssl failed

Open laogaolao opened this issue 1 year ago • 2 comments

hi,

I tried to compile with command 'make openssl' but not sucessful.

gcc -Wextra -Wall -pedantic -fPIE -O2 -Wno-long-long -Werror -DACVP_PARSER_IUT="openssl" -g -std=c11 -Wno-variadic-macros -DUBUNTU -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fwrapv --param ssp-buffer-size=4 -Iparser -c -o backends/backend_openssl_common.o backends/backend_openssl_common.c backends/backend_openssl_common.c: In function ‘openssl_mct_update’: backends/backend_openssl_common.c:756:45: error: invalid use of incomplete typedef ‘EVP_CIPHER_CTX’ {aka ‘struct evp_cipher_ctx_st’} 756 | BN_bn2bin(tweak, ctx->iv + data->iv.len - BN_num_bytes(tweak));

Before compile this, I download the openssl 3.0 and installed and also set the LD_LIBRARY_PATH=/usr/lib64/

the platform is Ubuntu 22.04.2 LTS vm.

Thanks in advance.

laogaolao avatar Jul 07 '23 08:07 laogaolao

Am Freitag, 7. Juli 2023, 10:44:20 CEST schrieb laogaolao:

Hi laogaolao,

hi,

I tried to compile with command 'make openssl' but not sucessful.

gcc -Wextra -Wall -pedantic -fPIE -O2 -Wno-long-long -Werror -DACVP_PARSER_IUT="openssl" -g -std=c11 -Wno-variadic-macros -DUBUNTU -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fwrapv --param ssp-buffer-size=4 -Iparser -c -o backends/backend_openssl_common.o backends/backend_openssl_common.c backends/backend_openssl_common.c: In function ‘openssl_mct_update’: backends/backend_openssl_common.c:756:45: error: invalid use of incomplete typedef ‘EVP_CIPHER_CTX’ {aka ‘struct evp_cipher_ctx_st’} 756 | BN_bn2bin(tweak, ctx->iv

  • data->iv.len - BN_num_bytes(tweak));

Before compile this, I download the openssl 3.0 and installed and also set the LD_LIBRARY_PATH=/usr/lib64/

the platform is Ubuntu 22.04.2 LTS vm.

Thanks in advance.

git pull

Ciao Stephan

smuellerDD avatar Jul 13 '23 08:07 smuellerDD

It works now, thanks.

laogaolao avatar Jul 14 '23 06:07 laogaolao