-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
# Use newly built oqsprovider to test interop with external sites | ||
|
||
if [ -z "$OPENSSL_APP" ]; then | ||
echo "OPENSSL_APP env var not set. Exiting." | ||
exit 1 | ||
fi | ||
|
||
if [ -z "$OPENSSL_MODULES" ]; then | ||
echo "Warning: OPENSSL_MODULES env var not set." | ||
fi | ||
|
||
# Set OSX DYLD_LIBRARY_PATH if not already externally set | ||
if [ -z "$DYLD_LIBRARY_PATH" ]; then | ||
export DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH | ||
fi | ||
|
||
echo " Cloudflare:" | ||
export OQS_CODEPOINT_X25519_KYBER512=65072 | ||
(echo -e "GET /cdn-cgi/trace HTTP/1.1\nHost: cloudflare.com\n\n"; sleep 1; echo $'\cc') | $OPENSSL_APP s_client -connect pq.cloudflareresearch.com:443 -groups x25519_kyber768 -servername cloudflare.com -ign_eof 2>/dev/null | grep kex=X25519Kyber768Draft00 | ||
(echo -e "GET /cdn-cgi/trace HTTP/1.1\nHost: cloudflare.com\n\n"; sleep 1; echo $'\cc') | $OPENSSL_APP s_client -connect pq.cloudflareresearch.com:443 -groups x25519_kyber512 -servername cloudflare.com -ign_eof 2>/dev/null | grep kex=X25519Kyber512Draft00 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters