Page MenuHomeFreeBSD

D44892.1791011109.diff
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

D44892.1791011109.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
Sat, Oct 3, 7:05 AM (16 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30122630
Default Alt Text
D44892.1791011109.diff (1 KB)

Event Timeline