Skip to content

Commit

Permalink
upstream: fix the values of enum sock_type
Browse files Browse the repository at this point in the history
OpenBSD-Commit-ID: 18d048f4dbfbb159ff500cfc2700b8fb1407facd
  • Loading branch information
djmdjm committed Jan 30, 2021
1 parent 8afaa7d commit 1a4b927
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ssh-agent.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $OpenBSD: ssh-agent.c,v 1.274 2021/01/29 06:28:10 djm Exp $ */
/* $OpenBSD: ssh-agent.c,v 1.275 2021/01/29 06:29:46 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
Expand Down Expand Up @@ -103,9 +103,9 @@
#define AGENT_RBUF_LEN (4096)

typedef enum {
AUTH_UNUSED,
AUTH_SOCKET,
AUTH_CONNECTION
AUTH_UNUSED = 0,
AUTH_SOCKET = 1,
AUTH_CONNECTION = 2,
} sock_type;

typedef struct socket_entry {
Expand Down

0 comments on commit 1a4b927

Please sign in to comment.