From 3ad74edce83f058d95a205c9c2bc344f31cf4bbe Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Wed, 10 Sep 2008 16:02:09 +0000 Subject: Add SSL_FIPS flag for FIPS 140-2 approved ciphersuites and add a new strength "FIPS" to represent all FIPS approved ciphersuites without NULL encryption. --- ssl/ssl_ciph.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ssl/ssl_ciph.c') diff --git a/ssl/ssl_ciph.c b/ssl/ssl_ciph.c index f62f37deb1..c31d6e0c78 100644 --- a/ssl/ssl_ciph.c +++ b/ssl/ssl_ciph.c @@ -308,6 +308,8 @@ static const SSL_CIPHER cipher_aliases[]={ {0,SSL_TXT_LOW,0, 0,0,0,0,0,SSL_LOW, 0,0,0}, {0,SSL_TXT_MEDIUM,0, 0,0,0,0,0,SSL_MEDIUM,0,0,0}, {0,SSL_TXT_HIGH,0, 0,0,0,0,0,SSL_HIGH, 0,0,0}, + /* FIPS 140-2 approved ciphersuite */ + {0,SSL_TXT_FIPS,0, 0,0,~SSL_eNULL,0,0,SSL_FIPS, 0,0,0}, }; /* Search for public key algorithm with given name and * return its pkey_id if it is available. Otherwise return 0 -- cgit v1.2.3