summaryrefslogtreecommitdiff
path: root/bindings/solv.i
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2013-10-29 17:01:03 +0100
committerMichael Schroeder <mls@suse.de>2013-10-29 17:01:03 +0100
commitfa44b0ed91e66bdb9fb0bb49e32b1988cbaf1197 (patch)
treefd4ca351bb0a9c86b558a6f7193312ec436667fb /bindings/solv.i
parentd49d3195edc87e864aa94af16583cf4e48c3a11f (diff)
downloadlibsolv-fa44b0ed91e66bdb9fb0bb49e32b1988cbaf1197.tar.gz
libsolv-fa44b0ed91e66bdb9fb0bb49e32b1988cbaf1197.tar.bz2
libsolv-fa44b0ed91e66bdb9fb0bb49e32b1988cbaf1197.zip
bindings: sig verification only works with ENABLE_PGPVRFY
Diffstat (limited to 'bindings/solv.i')
-rw-r--r--bindings/solv.i2
1 files changed, 2 insertions, 0 deletions
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