libressl-portable/patches/bn_isqrt.c.patch

19 lines
403 B
Diff
Raw Normal View History

2022-12-09 11:14:33 +01:00
--- tests/bn_isqrt.c.orig Fri Dec 9 11:05:26 2022
+++ tests/bn_isqrt.c Fri Dec 9 11:12:37 2022
@@ -306,6 +306,7 @@ main(int argc, char *argv[])
2022-08-15 10:43:49 +02:00
int ch;
int failed = 0, print = 0;
+#ifndef _MSC_VER
while ((ch = getopt(argc, argv, "C")) != -1) {
switch (ch) {
case 'C':
2022-12-09 11:14:33 +01:00
@@ -316,6 +317,7 @@ main(int argc, char *argv[])
2022-08-15 10:43:49 +02:00
break;
}
}
+#endif
if (print)
return check_tables(1);