diff options
author | Martin Willi <martin@strongswan.org> | 2009-06-19 16:39:44 +0200 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2009-06-22 15:47:17 +0200 |
commit | e3b7be91e1c9abafc82e267906e6b18e89e7393d (patch) | |
tree | 962cf144664ab815596c6bf40471742bc237fde5 /src/openac | |
parent | f1f51395d59ee7ab2e1b79eb3b033fcc68253e40 (diff) | |
download | strongswan-e3b7be91e1c9abafc82e267906e6b18e89e7393d.tar.bz2 strongswan-e3b7be91e1c9abafc82e267906e6b18e89e7393d.tar.xz |
removed obsolete INTEGRITY_TEST and fips signer code
--enable-integrity-test now conditionally builds libchecksum
Diffstat (limited to 'src/openac')
-rwxr-xr-x | src/openac/openac.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/openac/openac.c b/src/openac/openac.c index 3686c07ac..b7d303d12 100755 --- a/src/openac/openac.c +++ b/src/openac/openac.c @@ -40,11 +40,6 @@ #include <credentials/keys/private_key.h> #include <utils/optionsfrom.h> -#ifdef INTEGRITY_TEST -#include <fips/fips.h> -#include <fips_signature.h> -#endif /* INTEGRITY_TEST */ - #define OPENAC_PATH IPSEC_CONFDIR "/openac" #define OPENAC_SERIAL IPSEC_CONFDIR "/openac/serial" @@ -482,20 +477,6 @@ int main(int argc, char **argv) DBG1("starting openac (strongSwan Version %s)", VERSION); -#ifdef INTEGRITY_TEST - DBG1("integrity test of libstrongswan code"); - if (fips_verify_hmac_signature(hmac_key, hmac_signature)) - { - DBG1(" integrity test passed"); - } - else - { - DBG1(" integrity test failed"); - status = 3; - goto end; - } -#endif /* INTEGRITY_TEST */ - /* load the signer's RSA private key */ if (keyfile != NULL) { |