summaryrefslogtreecommitdiffstats
path: root/fips/fips.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-07-04 23:38:16 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-07-04 23:38:16 +0000
commit01a9a7592e332cf4853bc84c33407d384a1a14ba (patch)
tree76d701c180fd36fdfb9470ea9e3a3b6982fc1eee /fips/fips.c
parent6fa4c7c43bd1cb1f68ad7db34cfc983db51508bd (diff)
Add functions to return FIPS module version.
Diffstat (limited to 'fips/fips.c')
-rw-r--r--fips/fips.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/fips/fips.c b/fips/fips.c
index 09accac835..ef9c0bddaa 100644
--- a/fips/fips.c
+++ b/fips/fips.c
@@ -365,6 +365,16 @@ unsigned char *fips_signature_witness(void)
return FIPS_signature;
}
+unsigned long FIPS_module_version(void)
+ {
+ return FIPS_MODULE_VERSION_NUMBER;
+ }
+
+const char *FIPS_module_version_text(void)
+ {
+ return FIPS_MODULE_VERSION_TEXT;
+ }
+
#if 0
/* The purpose of this is to ensure the error code exists and the function
* name is to keep the error checking script quiet