View Bug Details

IDProjectCategoryView StatusLast Update
0001147DCP-o-maticBugspublic2018-10-17 20:13
Reportermarkusk Assigned Tocarl  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
Platform64-bitOSLinuxOS VersionArch
Product Version2.11.0 
Summary0001147: libdcp : -> error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
Description

i'm trying to recompile the dcpomatic and the needed librarys on arch out of the current "git" versions.

libdcp hast the following compile error ...

17/197] Compiling src/encrypted_kdm.cc
[ 18/197] Compiling src/encryption_context.cc
../src/decrypted_kdm.cc: In constructor ‘dcp::DecryptedKDM::DecryptedKDM(const dcp::EncryptedKDM&, std::__cxx11::string)’:
../src/decrypted_kdm.cc:156:90: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
throw KDMDecryptionError (ERR_error_string (ERR_get_error(), 0), cipher_value_len, rsa->n->dmax);
^~
In file included from /usr/include/openssl/x509.h:20:0,
from ../src/certificate.h:42,
from ../src/decrypted_kdm.h:45,
from ../src/decrypted_kdm.cc:34:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~
../src/decrypted_kdm.cc:156:92: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
throw KDMDecryptionError (ERR_error_string (ERR_get_error(), 0), cipher_value_len, rsa->n->dmax);
^
In file included from /usr/include/openssl/x509.h:20:0,
from ../src/certificate.h:42,
from ../src/decrypted_kdm.h:45,
from ../src/decrypted_kdm.cc:34:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~

TagsNo tags attached.
Branch
Estimated weeks required
Estimated work requiredUnknown

Activities

carl

2017-12-17 02:28

administrator   ~0001851

Thanks. Should be fixed by the libdcp commit 7863ca3.

Bug History

Date Modified Username Field Change
2017-12-16 22:56 markusk New Bug
2017-12-17 02:28 carl Assigned To => carl
2017-12-17 02:28 carl Status new => resolved
2017-12-17 02:28 carl Resolution open => fixed
2017-12-17 02:28 carl Note Added: 0001851
2018-10-17 20:13 carl Status resolved => closed