Page MenuHomeFreeBSD

D44892.diff
No OneTemporary

D44892.diff

diff --git a/crypto/openssl/providers/fips.ld b/crypto/openssl/providers/fips.ld
new file mode 100644
--- /dev/null
+++ b/crypto/openssl/providers/fips.ld
@@ -0,0 +1,5 @@
+{
+ global:
+ OSSL_provider_init;
+ local: *;
+};
diff --git a/crypto/openssl/providers/legacy.ld b/crypto/openssl/providers/legacy.ld
new file mode 100644
--- /dev/null
+++ b/crypto/openssl/providers/legacy.ld
@@ -0,0 +1,5 @@
+{
+ global:
+ OSSL_provider_init;
+ local: *;
+};
diff --git a/secure/lib/libcrypto/modules/fips/Makefile b/secure/lib/libcrypto/modules/fips/Makefile
--- a/secure/lib/libcrypto/modules/fips/Makefile
+++ b/secure/lib/libcrypto/modules/fips/Makefile
@@ -1,6 +1,8 @@
SHLIB_NAME?= fips.so
+VERSION_MAP= ${SRCTOP}/crypto/openssl/providers/fips.ld
+
CFLAGS+= -DFIPS_MODULE
SRCS+= fips_entry.c fipsprov.c self_test.c self_test_kats.c
diff --git a/secure/lib/libcrypto/modules/legacy/Makefile b/secure/lib/libcrypto/modules/legacy/Makefile
--- a/secure/lib/libcrypto/modules/legacy/Makefile
+++ b/secure/lib/libcrypto/modules/legacy/Makefile
@@ -2,6 +2,8 @@
SHLIB_NAME?= legacy.so
LIBADD= crypto
+VERSION_MAP= ${SRCTOP}/crypto/openssl/providers/legacy.ld
+
SRCS+= legacyprov.c prov_running.c
# ciphers

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 17, 12:36 PM (20 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14677471
Default Alt Text
D44892.diff (1 KB)

Event Timeline