Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Feb 2024 03:38:27 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 1edb7116f450 - main - bearssl: Make shared library link
Message-ID:  <202402210338.41L3cRAZ021090@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=1edb7116f450c1a1793f2fd25f6bdc16735ef888

commit 1edb7116f450c1a1793f2fd25f6bdc16735ef888
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-02-21 03:31:41 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-02-21 03:31:41 +0000

    bearssl: Make shared library link
    
    Creating a lua shared library module linking against libbearssl.so won't
    load w/o these functions.
    
    Sponsored by:           Netflix
    Reviewed by:            sjg
    Differential Revision:  https://reviews.freebsd.org/D43982
---
 lib/libbearssl/Makefile | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/lib/libbearssl/Makefile b/lib/libbearssl/Makefile
index d307dd138a94..1fa57f372596 100644
--- a/lib/libbearssl/Makefile
+++ b/lib/libbearssl/Makefile
@@ -45,6 +45,7 @@ SRCS+= \
 	hash/ghash_pwr8.c \
 	hash/md5.c \
 	hash/md5sha1.c \
+	hash/mgf1.c
 
 
 # this one does not compile for amd64
@@ -149,6 +150,11 @@ SRCS+= \
 	x509/x509_knownkey.c \
 	x509/x509_minimal_full.c \
 
+SRCS+= \
+	rand/hmac_drbg.c \
+	mac/hmac.c \
+	mac/hmac_ct.c \
+
 INCS= \
 	inc/bearssl.h \
 	inc/bearssl_aead.h \
@@ -169,9 +175,6 @@ INCS:= ${INCS:S,^,${BEARSSL}/,}
 
 .if ${MK_BEARSSL_SSL:Uno} == "yes"
 SRCS+= \
-	mac/hmac.c \
-	mac/hmac_ct.c \
-	rand/hmac_drbg.c \
 	ssl/prf.c \
 	ssl/prf_md5sha1.c \
 	ssl/prf_sha256.c \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402210338.41L3cRAZ021090>