projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d49d319
)
bindings: sig verification only works with ENABLE_PGPVRFY
author
Michael Schroeder
<mls@suse.de>
Tue, 29 Oct 2013 16:01:03 +0000
(17:01 +0100)
committer
Michael Schroeder
<mls@suse.de>
Tue, 29 Oct 2013 16:01:03 +0000
(17:01 +0100)
bindings/solv.i
patch
|
blob
|
history
diff --git
a/bindings/solv.i
b/bindings/solv.i
index
9915821
..
9bde0a0
100644
(file)
--- 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