give typedef'd struct a struct name; makes the fuzzer I'm writing a bit
authordjm <djm@openbsd.org>
Fri, 29 Jan 2021 06:28:10 +0000 (06:28 +0000)
committerdjm <djm@openbsd.org>
Fri, 29 Jan 2021 06:28:10 +0000 (06:28 +0000)
easier

usr.bin/ssh/ssh-agent.c

index 452e652..416f3d7 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-agent.c,v 1.273 2021/01/27 00:37:26 dtucker Exp $ */
+/* $OpenBSD: ssh-agent.c,v 1.274 2021/01/29 06:28:10 djm Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -94,7 +94,7 @@ typedef enum {
        AUTH_CONNECTION
 } sock_type;
 
-typedef struct {
+typedef struct socket_entry {
        int fd;
        sock_type type;
        struct sshbuf *input;