Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Langley <alangley@gmail.com>2016-03-02 03:00:36 +0300
committerDavid Benjamin <davidben@google.com>2016-03-02 03:15:37 +0300
commit7a17ba2e3ab1cc30812193660138cb9f09b27c7e (patch)
tree07b14c731973742555e4ce51333620ae79d3dd04 /include/openssl/crypto.h
parent708db16463a21b922aed6d393ef74c3c5a366668 (diff)
Add |FIPS_mode|, which returns zero.
(node.js calls it.) Change-Id: I7401f4cb4dfc61d500331821784ae717ad9f7adf Reviewed-on: https://boringssl-review.googlesource.com/7271 Reviewed-by: David Benjamin <davidben@google.com>
Diffstat (limited to 'include/openssl/crypto.h')
-rw-r--r--include/openssl/crypto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/openssl/crypto.h b/include/openssl/crypto.h
index 29d58921..0d4e345e 100644
--- a/include/openssl/crypto.h
+++ b/include/openssl/crypto.h
@@ -65,6 +65,9 @@ OPENSSL_EXPORT void ENGINE_load_builtin_engines(void);
/* OPENSSL_load_builtin_modules does nothing. */
OPENSSL_EXPORT void OPENSSL_load_builtin_modules(void);
+/* FIPS_mode returns zero. */
+OPENSSL_EXPORT int FIPS_mode(void);
+
#if defined(__cplusplus)
} /* extern C */