mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-12 18:40:27 +01:00
Merge pull request #3708 from bluca/gnutls_pkg
Problem: test_wss_transport doesn't compile without DRAFT
This commit is contained in:
commit
96bc59a6ce
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user