Merge pull request #3708 from bluca/gnutls_pkg

Problem: test_wss_transport doesn't compile without DRAFT
This commit is contained in:
Doron Somech 2019-10-07 12:54:51 +03:00 committed by GitHub
commit 96bc59a6ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,6 +33,7 @@
SETUP_TEARDOWN_TESTCONTEXT
#ifdef ZMQ_WSS_CERT_PEM
const char *key =
"-----BEGIN PRIVATE KEY-----\n"
"MIIJRAIBADANBgkqhkiG9w0BAQEFAASCCS4wggkqAgEAAoICAQCrXKFPWrRqbdNo\n"
@ -148,3 +149,10 @@ int main ()
RUN_TEST (test_roundtrip);
return UNITY_END ();
}
#else
int main ()
{
printf ("WSS unavailable, skipping test\n");
return 77;
}
#endif