projects
/
u
/
mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't use @va_arg@ as an argument to @STORE32@!
[u/mdw/catacomb]
/
passphrase.c
diff --git
a/passphrase.c
b/passphrase.c
index
e19aed4
..
b0268d3
100644
(file)
--- a/
passphrase.c
+++ b/
passphrase.c
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: passphrase.c,v 1.
2 2000/06/17 11:49:3
7 mdw Exp $
+ * $Id: passphrase.c,v 1.
3 2000/12/06 20:33:2
7 mdw Exp $
*
* Reading of passphrases (Unix-specific)
*
*
* Reading of passphrases (Unix-specific)
*
@@
-30,6
+30,10
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: passphrase.c,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: passphrase.c,v $
+ * Revision 1.3 2000/12/06 20:33:27 mdw
+ * Make flags be macros rather than enumerations, to ensure that they're
+ * unsigned.
+ *
* Revision 1.2 2000/06/17 11:49:37 mdw
* New pixie protocol allowing application to request passphrases and send
* them to the pixie.
* Revision 1.2 2000/06/17 11:49:37 mdw
* New pixie protocol allowing application to request passphrases and send
* them to the pixie.
@@
-58,9
+62,7
@@
static int fd = -1;
static unsigned flags = 0;
static int fd = -1;
static unsigned flags = 0;
-enum {
- f_fail = 1
-};
+#define f_fail 1u
/*----- Main code ---------------------------------------------------------*/
/*----- Main code ---------------------------------------------------------*/