libressl-portable/patches/handshake_table.c.patch

19 lines
391 B
Diff
Raw Normal View History

2022-03-21 05:27:12 -05:00
--- tests/handshake_table.c.orig Tue Mar 15 11:37:03 2022
+++ tests/handshake_table.c Mon Mar 21 05:26:15 2022
@@ -518,6 +518,7 @@
unsigned int depth = 0;
int ch, graphviz = 0, print = 0;
+#ifndef _MSC_VER
while ((ch = getopt(argc, argv, "Cg")) != -1) {
switch (ch) {
case 'C':
2022-03-21 05:27:12 -05:00
@@ -535,6 +536,7 @@
if (argc != 0)
usage();
+#endif
if (graphviz && print)
usage();