Enable regress handshake_table on Windows
This commit is contained in:
parent
4270e6716f
commit
1fe7792349
18
patches/handshake_table.c.patch
Normal file
18
patches/handshake_table.c.patch
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
--- tests/handshake_table.c.orig Mon May 4 23:28:43 2020
|
||||||
|
+++ tests/handshake_table.c Mon May 4 23:29:50 2020
|
||||||
|
@@ -477,6 +477,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':
|
||||||
|
@@ -494,6 +495,7 @@
|
||||||
|
|
||||||
|
if (argc != 0)
|
||||||
|
usage();
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
if (graphviz && print)
|
||||||
|
usage();
|
@ -226,7 +226,7 @@ target_link_libraries(gost2814789t ${OPENSSL_LIBS})
|
|||||||
add_test(gost2814789t gost2814789t)
|
add_test(gost2814789t gost2814789t)
|
||||||
|
|
||||||
# handshake_table
|
# handshake_table
|
||||||
if(NOT BUILD_SHARED_LIBS AND NOT MSVC)
|
if(NOT BUILD_SHARED_LIBS)
|
||||||
add_executable(handshake_table handshake_table.c)
|
add_executable(handshake_table handshake_table.c)
|
||||||
target_link_libraries(handshake_table ${OPENSSL_LIBS})
|
target_link_libraries(handshake_table ${OPENSSL_LIBS})
|
||||||
add_test(handshake_table handshake_table)
|
add_test(handshake_table handshake_table)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user