]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: fix the values of enum sock_type
authordjm@openbsd.org <djm@openbsd.org>
Fri, 29 Jan 2021 06:29:46 +0000 (06:29 +0000)
committerDamien Miller <djm@mindrot.org>
Sat, 30 Jan 2021 00:58:31 +0000 (11:58 +1100)
OpenBSD-Commit-ID: 18d048f4dbfbb159ff500cfc2700b8fb1407facd

ssh-agent.c

index 9fb0f065646280a134458b5aa946abdcb00cd94d..ea1ebb3e32ae48d7ac699bcb5acce89d40843d07 100644 (file)
@@ -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
 #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 {