summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/cryptlib/files/cryptlib-3.4.3.1-tests.patch')
-rw-r--r--dev-libs/cryptlib/files/cryptlib-3.4.3.1-tests.patch52
1 files changed, 52 insertions, 0 deletions
diff --git a/dev-libs/cryptlib/files/cryptlib-3.4.3.1-tests.patch b/dev-libs/cryptlib/files/cryptlib-3.4.3.1-tests.patch
new file mode 100644
index 000000000000..f18bc96be108
--- /dev/null
+++ b/dev-libs/cryptlib/files/cryptlib-3.4.3.1-tests.patch
@@ -0,0 +1,52 @@
+From c25dad21f5b1db106e4fe42f38a0dac6290b8a41 Mon Sep 17 00:00:00 2001
+From: Alon Bar-Lev <alon.barlev@gmail.com>
+Date: Sat, 4 Feb 2017 05:48:54 +0200
+Subject: [PATCH] tests: disable online tests
+
+Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
+---
+ test/testfunc.c | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/test/testfunc.c b/test/testfunc.c
+index 79d7148..017a4a8 100644
+--- a/test/testfunc.c
++++ b/test/testfunc.c
+@@ -1119,6 +1119,7 @@ BOOLEAN testSessions( void )
+ }
+ if( !testSessionAttributes() )
+ return( FALSE );
++#if 0
+ if( !testSessionSSH() )
+ return( FALSE );
+ if( !testSessionSSHPubkeyAuth() )
+@@ -1127,6 +1128,7 @@ BOOLEAN testSessions( void )
+ return( FALSE );
+ if( !testSessionSSHExec() )
+ return( FALSE );
++#endif
+ if( !testSessionSSL() )
+ return( FALSE );
+ if( !testSessionSSLLocalSocket() )
+@@ -1147,14 +1149,18 @@ BOOLEAN testSessions( void )
+ if( !testSessionTLS12ClientCert() )
+ return( FALSE );
+ #endif /* 0 */
++#if 0
+ if( !testSessionOCSP() )
+ return( FALSE );
++#endif
++#if 0
+ if( !testSessionTSP() )
+ return( FALSE );
+ if( !testSessionEnvTSP() )
+ return( FALSE );
+ if( !testSessionCMP() )
+ return( FALSE );
++#endif
+
+ return( TRUE );
+ }
+--
+2.10.2
+