From: Michael Schroeder Date: Tue, 29 Oct 2013 16:01:03 +0000 (+0100) Subject: bindings: sig verification only works with ENABLE_PGPVRFY X-Git-Tag: upstream/0.6.4~160 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fa44b0ed91e66bdb9fb0bb49e32b1988cbaf1197;p=platform%2Fupstream%2Flibsolv.git bindings: sig verification only works with ENABLE_PGPVRFY --- diff --git a/bindings/solv.i b/bindings/solv.i index 9915821..9bde0a0 100644 --- a/bindings/solv.i +++ b/bindings/solv.i @@ -3043,10 +3043,12 @@ rb_eval_string( Chksum *Chksum() { return $self->htype ? (Chksum *)solv_chksum_create($self->htype) : 0; } +#ifdef ENABLE_PGPVRFY %newobject verify; XSolvable *verify(Repo *repo, Chksum *chksum) { Id p = solvsig_verify($self, repo, chksum); return new_XSolvable(repo->pool, p); } +#endif } #endif