From fa44b0ed91e66bdb9fb0bb49e32b1988cbaf1197 Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Tue, 29 Oct 2013 17:01:03 +0100 Subject: bindings: sig verification only works with ENABLE_PGPVRFY --- bindings/solv.i | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bindings/solv.i') 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 -- cgit v1.2.3