projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
379473e
)
fix return codes for makeSignature()
author
root
<devnull@localhost>
Thu, 22 Feb 1996 01:59:29 +0000
(
01:59
+0000)
committer
root
<devnull@localhost>
Thu, 22 Feb 1996 01:59:29 +0000
(
01:59
+0000)
CVS patchset: 390
CVS date: 1996/02/22 01:59:29
lib/signature.c
patch
|
blob
|
history
diff --git
a/lib/signature.c
b/lib/signature.c
index
15f7b78
..
1190941
100644
(file)
--- a/
lib/signature.c
+++ b/
lib/signature.c
@@
-51,15
+51,13
@@
int readSignature(int fd, short sig_type, void **sig)
int makeSignature(char *file, short sig_type, int ofd, char *passPhrase)
{
switch (sig_type) {
- case RPMSIG_NONE:
- /* Do nothing */
- break;
case RPMSIG_PGP262_1024:
- makePGPSignature(file, ofd, passPhrase);
+
return
makePGPSignature(file, ofd, passPhrase);
break;
+ case RPMSIG_NONE:
}
- return
1
;
+ return
0
;
}
#if 0