diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-11-01 13:45:30 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-11-01 13:45:30 +0000 |
commit | 8b8096d082292211cc977af195e9b12c88c26de3 (patch) | |
tree | e87a03240248b023aa8cbb45963d6d1a91d5dd19 /fips/rsa/fips_rsastest.c | |
parent | 9ab6d6813ec544a15f6aea3d4af83629fa1eb4e5 (diff) |
Add support for multicall fips_algvs utility combining functionality
of all fips test utilities in a single binary and some minimal script
parsing for platforms lacking a suitable shell.
In order to keep changes to the build system to a minimum it #includes all
the utilities C source files (yuck).
Diffstat (limited to 'fips/rsa/fips_rsastest.c')
-rw-r--r-- | fips/rsa/fips_rsastest.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fips/rsa/fips_rsastest.c b/fips/rsa/fips_rsastest.c index e0dbe2a0d7..d11b06316b 100644 --- a/fips/rsa/fips_rsastest.c +++ b/fips/rsa/fips_rsastest.c @@ -85,7 +85,11 @@ static int rsa_stest(FILE *out, FILE *in, int Saltlen); static int rsa_printsig(FILE *out, RSA *rsa, const EVP_MD *dgst, unsigned char *Msg, long Msglen, int Saltlen); +#ifdef FIPS_ALGVS +int fips_rsastest_main(int argc, char **argv) +#else int main(int argc, char **argv) +#endif { FILE *in = NULL, *out = NULL; |