fillabs / FITSec

ETSI TS 103 097 v1.2.1 - v.1.2.5 library
GNU Lesser General Public License v3.0
9 stars 3 forks source link

OpenSSL plugin does not compile with OpenSSL 1.1.x on Debian 10 (buster) #3

Open bma67 opened 4 years ago

bma67 commented 4 years ago

gcc is version 8.3.0

Error is:

plugins/fitsec_openssl.c: In function 'OpenSSL_ReadSignature': plugins/fitsec_openssl.c:246:21: error: dereferencing pointer to incomplete type 'ECDSA_SIG' {aka 'struct ECDSA_SIG_st'} BN_bin2bn(s, 32, sg->s);

bma67 commented 4 years ago

Attached, you will find a proposed patch. FITSec_OpenSSL_v1.1.x.patch.txt