Project

General

Profile

Bug #2064

Secman can't be built with OpenSSL 1.1.0j

Added by krigstask over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Plugins: SecMan SecureStorage
Target version:
Start date:
01/11/2019
Due date:
% Done:

100%

Estimated time:
1.00 h
Reported in:
master

Description

Gentoo Linux ~amd64

After upgrading dev-libs/openssl to 1.1.0j:

/var/tmp/portage/app-leechcraft/lc-secman-9999/work/lc-secman-9999/src/plugins/secman/plugins/securestorage/cryptosystem.cpp:95:18: error: 
      variable has incomplete type 'EVP_CIPHER_CTX' (aka 'evp_cipher_ctx_st')
                EVP_CIPHER_CTX cipherCtx;
                               ^
/usr/include/openssl/ossl_typ.h:90:16: note: forward declaration of 'evp_cipher_ctx_st'
typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
               ^
/var/tmp/portage/app-leechcraft/lc-secman-9999/work/lc-secman-9999/src/plugins/secman/plugins/securestorage/cryptosystem.cpp:115:13: error: 
      variable has incomplete type 'HMAC_CTX' (aka 'hmac_ctx_st')
                        HMAC_CTX hmacCtx;
                                 ^
/usr/include/openssl/ossl_typ.h:102:16: note: forward declaration of 'hmac_ctx_st'
typedef struct hmac_ctx_st HMAC_CTX;
               ^
/var/tmp/portage/app-leechcraft/lc-secman-9999/work/lc-secman-9999/src/plugins/secman/plugins/securestorage/cryptosystem.cpp:139:18: error: 
      variable has incomplete type 'EVP_CIPHER_CTX' (aka 'evp_cipher_ctx_st')
                EVP_CIPHER_CTX cipherCtx;
                               ^
/usr/include/openssl/ossl_typ.h:90:16: note: forward declaration of 'evp_cipher_ctx_st'
typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
               ^
/var/tmp/portage/app-leechcraft/lc-secman-9999/work/lc-secman-9999/src/plugins/secman/plugins/securestorage/cryptosystem.cpp:159:12: error: 
      variable has incomplete type 'HMAC_CTX' (aka 'hmac_ctx_st')
                HMAC_CTX hmacCtx;
                         ^
/usr/include/openssl/ossl_typ.h:102:16: note: forward declaration of 'hmac_ctx_st'
typedef struct hmac_ctx_st HMAC_CTX;
               ^
4 errors generated.

#1

Updated by 0xd34df00d over 1 year ago

  • Estimated time set to 1.00 h
  • Target version set to 0.6.75
  • Assignee set to 0xd34df00d
  • Status changed from New to Assigned
  • Category set to Plugins: SecMan SecureStorage

Thx for treporting! I haven't upgraded to openssl-1.1 yet.

Will hopefully fix this today.

#2

Updated by 0xd34df00d over 1 year ago

  • % Done changed from 0 to 100
  • Status changed from Assigned to Resolved
#3

Updated by 0xd34df00d over 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF