mirror of
				https://github.com/drwetter/testssl.sh.git
				synced 2025-10-30 21:35:26 +01:00 
			
		
		
		
	Add jsonID to EC in run_pfs()
This commit is contained in:
		| @@ -8737,13 +8737,13 @@ run_pfs() { | |||||||
|                # severity ratings based on quality specified by |                # severity ratings based on quality specified by | ||||||
|                # pr_ecdh_quality() for shortest curve offered. |                # pr_ecdh_quality() for shortest curve offered. | ||||||
|                if [[ "$low" -le 163 ]]; then |                if [[ "$low" -le 163 ]]; then | ||||||
|                     fileout "ECDHE_curves" "MEDIUM" "$curves_offered" |                     fileout "${jsonID}_ECDHE_curves" "MEDIUM" "$curves_offered" | ||||||
|                elif [[ "$low" -le 193 ]]; then |                elif [[ "$low" -le 193 ]]; then | ||||||
|                     fileout "ECDHE_curves" "LOW" "$curves_offered" |                     fileout "${jsonID}_ECDHE_curves" "LOW" "$curves_offered" | ||||||
|                elif [[ "$low" -le 224 ]]; then |                elif [[ "$low" -le 224 ]]; then | ||||||
|                     fileout "ECDHE_curves" "INFO" "$curves_offered" |                     fileout "${jsonID}_ECDHE_curves" "INFO" "$curves_offered" | ||||||
|                else |                else | ||||||
|                     fileout "ECDHE_curves" "OK" "$curves_offered" |                     fileout "${jsonID}_ECDHE_curves" "OK" "$curves_offered" | ||||||
|                fi |                fi | ||||||
|           fi |           fi | ||||||
|      fi |      fi | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Dirk
					Dirk