| commit | 7a17ba2e3ab1cc30812193660138cb9f09b27c7e | [log] [tgz] |
|---|---|---|
| author | Adam Langley <alangley@gmail.com> | Tue Mar 01 16:00:36 2016 -0800 |
| committer | David Benjamin <davidben@google.com> | Wed Mar 02 00:15:37 2016 +0000 |
| tree | 07b14c731973742555e4ce51333620ae79d3dd04 | |
| parent | 708db16463a21b922aed6d393ef74c3c5a366668 [diff] [blame] |
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>
diff --git a/include/openssl/crypto.h b/include/openssl/crypto.h index 29d5892..0d4e345 100644 --- a/include/openssl/crypto.h +++ b/include/openssl/crypto.h
@@ -65,6 +65,9 @@ /* 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 */