Source: cryptonit
Version: 0.9.7-2.4
Severity: serious
Tags: sid

Hi,

Your package is failing to build with openssl 1.0.  It fails with
this message:
pkcs7.cpp: In member function 'void 
Cryptonit::pkcs7::setDigest(Cryptonit::DigestName)':
pkcs7.cpp:231:23: error: 'EVP_md2' was not declared in this scope
pkcs7.cpp: In member function 'int Cryptonit::pkcs7::sign(const char*, 
Cryptonit::Certificate&, Cryptonit::Key&, std::vector<Cryptonit::Certificate>&, 
bool)':
pkcs7.cpp:479:14: error: cannot convert 'stack_st_X509*' to 
'Cryptonit::pkcs7::sign(const char*, Cryptonit::Certificate&, Cryptonit::Key&, 
std::vector<Cryptonit::Certificate>&, bool)::stack_st_509*' in assignment
pkcs7.cpp:481:3: error: conditional expression between distinct pointer types 
'Cryptonit::pkcs7::sign(const char*, Cryptonit::Certificate&, Cryptonit::Key&, 
std::vector<Cryptonit::Certificate>&, bool)::stack_st_509*' and 
'stack_st_X509*' lacks a cast
pkcs7.cpp:486:59: error: no matching function for call to 
'Cryptonit::pkcs7::my_PKCS7_sign(X509*&, EVP_PKEY*&, 
Cryptonit::pkcs7::sign(const char*, Cryptonit::Certificate&, Cryptonit::Key&, 
std::vector<Cryptonit::Certificate>&, bool)::stack_st_509*&, BIO*&, int&)'
pkcs7.cpp:486:59: note: candidate is:
pkcs7.hh:254:9: note: PKCS7* Cryptonit::pkcs7::my_PKCS7_sign(X509*, EVP_PKEY*, 
stack_st_X509*, BIO*, int)
pkcs7.hh:254:9: note:   no known conversion for argument 3 from 
'Cryptonit::pkcs7::sign(const char*, Cryptonit::Certificate&, Cryptonit::Key&, 
std::vector<Cryptonit::Certificate>&, bool)::stack_st_509*' to 'stack_st_X509*'
pkcs7.cpp: In member function 'std::vector<Cryptonit::Certificate>& 
Cryptonit::pkcs7::getRecipientsCertificates()':
pkcs7.cpp:928:53: error: 'void*' is not a pointer-to-object type
make[4]: *** [pkcs7.lo] Error 1

MD2 was disabled by default, and you probably just need to add
#ifndef OPENSSL_NO_MD2 around that like done in other places
in that file.

No idea about the other errors.  Those don't seem to be related
to openssl changes but rather to g++ being more strict.


Kurt




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to