From fc1a792a12219148f7fdfcb9d9d1edcc74f13b91 Mon Sep 17 00:00:00 2001 From: csoler Date: Sat, 18 Feb 2017 18:16:10 +0100 Subject: [PATCH] fixing compilation for openssl-1.1.0 (part 9) --- openpgpsdk/src/openpgpsdk/signature.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openpgpsdk/src/openpgpsdk/signature.c b/openpgpsdk/src/openpgpsdk/signature.c index 109d39fc7..e6820e325 100644 --- a/openpgpsdk/src/openpgpsdk/signature.c +++ b/openpgpsdk/src/openpgpsdk/signature.c @@ -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);