summaryrefslogtreecommitdiff
path: root/tests/unit/unit1651.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/unit1651.c')
-rw-r--r--tests/unit/unit1651.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/unit/unit1651.c b/tests/unit/unit1651.c
index 5aebaf7f2..e86ddf161 100644
--- a/tests/unit/unit1651.c
+++ b/tests/unit/unit1651.c
@@ -32,6 +32,8 @@ static void unit_stop(void)
{
}
+#if defined(USE_GSKIT) || defined(USE_NSS) || defined(USE_GNUTLS) || \
+ defined(USE_CYASSL) || defined(USE_SCHANNEL)
/* cert captured from gdb when connecting to curl.haxx.se on October 26
2018 */
@@ -341,9 +343,6 @@ static unsigned char cert[] = {
0x61, 0x54, 0x4A, 0x2B, 0xB7, 0x6A, 0x12, 0x08, 0xFB,
};
-#if defined(USE_GSKIT) || defined(USE_NSS) || defined(USE_GNUTLS) || \
- defined(USE_CYASSL) || defined(USE_SCHANNEL)
-
UNITTEST_START
{
CURLcode result;