fixing compilation for openssl-1.1.0 (part 9)

This commit is contained in:
csoler 2017-02-18 18:16:10 +01:00
parent d5e679299c
commit fc1a792a12

View File

@ -302,9 +302,9 @@ static ops_boolean_t dsa_sign(ops_hash_t *hash, const ops_dsa_public_key_t *dsa,
ops_write_mpi(dsasig->r, cinfo);
ops_write_mpi(dsasig->s, cinfo);
#else
BIGNUM *rr=NULL,*ss=NULL ;
const BIGNUM *rr=NULL,*ss=NULL ;
DSA_SIG_get0(&rr,&ss) ;
DSA_SIG_get0(dsasig,&rr,&ss) ;
ops_write_mpi(rr, cinfo);
ops_write_mpi(ss, cinfo);