mirror of
				https://github.com/drwetter/testssl.sh.git
				synced 2025-10-30 21:35:26 +01:00 
			
		
		
		
	trim all whitespace at EOL.
also, align comment blocks for better code readability. Signed-off-by: António Meireles <antonio.meireles@reformi.st>
This commit is contained in:
		| @@ -95,7 +95,7 @@ readonly DAYS2WARN2=30				# days to warn before cert expires, threshold 2 | |||||||
|  |  | ||||||
| # more global vars, here just declared | # more global vars, here just declared | ||||||
| readonly ECHO="/usr/bin/printf --"		# works under Linux, BSD, MacOS. | readonly ECHO="/usr/bin/printf --"		# works under Linux, BSD, MacOS. | ||||||
| TERM_DWITH=${COLUMNS:-$(tput cols)} 	# for future costum line wrapping  | TERM_DWITH=${COLUMNS:-$(tput cols)} 		# for future custom line wrapping | ||||||
| TERM_CURRPOS=0					# ^^^ we also need to find out the length or current pos in the line | TERM_CURRPOS=0					# ^^^ we also need to find out the length or current pos in the line | ||||||
| readonly SYSTEM=$(uname -s)			# OS | readonly SYSTEM=$(uname -s)			# OS | ||||||
| if date --help >/dev/null 2>&1; then | if date --help >/dev/null 2>&1; then | ||||||
| @@ -134,7 +134,8 @@ IPS="" | |||||||
| SERVICE=""					# is the server running an HTTP server, SMTP, POP or IMAP? | SERVICE=""					# is the server running an HTTP server, SMTP, POP or IMAP? | ||||||
| URI="" | URI="" | ||||||
| STARTTLS_PROTOCOL="" | STARTTLS_PROTOCOL="" | ||||||
| OPTIMAL_PROTO=""		# we need this for IIS6 (sigh) and OpenSSL 1.02, otherwise some handshakes will fail, see https://github.com/PeterMosmans/openssl/issues/19#issuecomment-100897892 | OPTIMAL_PROTO=""				# we need this for IIS6 (sigh) and OpenSSL 1.02, otherwise some handshakes | ||||||
|  | 						# will fail, see https://github.com/PeterMosmans/openssl/issues/19#issuecomment-100897892 | ||||||
|  |  | ||||||
| TLS_TIME="" | TLS_TIME="" | ||||||
| TLS_NOW="" | TLS_NOW="" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 António Meireles
					António Meireles