summaryrefslogtreecommitdiff
path: root/ssh-keysign.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-keysign.c')
-rw-r--r--ssh-keysign.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/ssh-keysign.c b/ssh-keysign.c
index c7ca5c4e4..26c8faad2 100644
--- a/ssh-keysign.c
+++ b/ssh-keysign.c
@@ -22,7 +22,7 @@
22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 */ 23 */
24#include "includes.h" 24#include "includes.h"
25RCSID("$OpenBSD: ssh-keysign.c,v 1.13 2003/07/03 08:09:06 djm Exp $"); 25RCSID("$OpenBSD: ssh-keysign.c,v 1.10 2003/03/13 11:42:19 markus Exp $");
26 26
27#include <openssl/evp.h> 27#include <openssl/evp.h>
28#include <openssl/rand.h> 28#include <openssl/rand.h>
@@ -42,8 +42,7 @@ RCSID("$OpenBSD: ssh-keysign.c,v 1.13 2003/07/03 08:09:06 djm Exp $");
42#include "pathnames.h" 42#include "pathnames.h"
43#include "readconf.h" 43#include "readconf.h"
44 44
45/* XXX readconf.c needs these */ 45uid_t original_real_uid; /* XXX readconf.c needs this */
46uid_t original_real_uid;
47 46
48#ifdef HAVE___PROGNAME 47#ifdef HAVE___PROGNAME
49extern char *__progname; 48extern char *__progname;
@@ -56,7 +55,7 @@ valid_request(struct passwd *pw, char *host, Key **ret, u_char *data,
56 u_int datalen) 55 u_int datalen)
57{ 56{
58 Buffer b; 57 Buffer b;
59 Key *key = NULL; 58 Key *key;
60 u_char *pkblob; 59 u_char *pkblob;
61 u_int blen, len; 60 u_int blen, len;
62 char *pkalg, *p; 61 char *pkalg, *p;