Skip to content

error: storage size of ‘ctx’ isn’t known #161

@mihai-morman

Description

@mihai-morman
/bin/sh ../../../libtool --silent  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I../../..  -I../../../include   -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT lanplus_crypt_impl.lo -MD -MP -MF .deps/lanplus_crypt_impl.Tpo -c -o lanplus_crypt_impl.lo lanplus_crypt_impl.c
lanplus_crypt_impl.c: In function ‘lanplus_encrypt_aes_cbc_128’:
lanplus_crypt_impl.c:167:17: error: storage size of ‘ctx’ isn’t known
  167 |  EVP_CIPHER_CTX ctx;
      |                 ^~~
lanplus_crypt_impl.c:167:17: warning: unused variable ‘ctx’ [-Wunused-variable]
lanplus_crypt_impl.c: In function ‘lanplus_decrypt_aes_cbc_128’:
lanplus_crypt_impl.c:242:17: error: storage size of ‘ctx’ isn’t known
  242 |  EVP_CIPHER_CTX ctx;
      |                 ^~~
lanplus_crypt_impl.c:242:17: warning: unused variable ‘ctx’ [-Wunused-variable]

Hello!

I got that error after trying to install various versions of ipmitool on manjaro linux.
The above error is from ipmitool-1.8.18.tar.gz
I've tried also ipmitool versions 1.8.15, 1.8.17, with the same results.
What i did is:
./configure
make

My current kernel i 4.19.78-1-MANJARO.

I also want to point that ipmitool-1.8.18 works fine if i use pacman to install it.
I have some problems when uploading a firmware update using fwum
I am getting Segmentation Fault:
Segmentation fault (core dumped) 0 %
Segmentation fault (core dumped)###################################### 99 %

So i wanted to try older versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions