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
#include <stdlib.h> | |
#include <stdio.h> | |
#include <string.h> | |
static const size_t kBlocksizeSHA256 = 64; | |
// Round constants | |
static const unsigned int K[] = { |
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
#!/bin/bash | |
HOSTNAME=$1 | |
for cipher in `openssl ciphers | tr ":" "\n"`; | |
do | |
echo | openssl s_client -connect $HOSTNAME:443 -servername $HOSTNAME -cipher $cipher 2>&1; | |
done | grep "Cipher.is" | grep -v NONE |