[master] 48d9f8094 Add VSHA_* to libvarnishapi

Nils Goroll nils.goroll at uplex.de
Mon Aug 28 14:07:06 UTC 2023


commit 48d9f8094c9a54f4e41b44abc3931193b9ccdf7b
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Mon Aug 28 16:04:24 2023 +0200

    Add VSHA_* to libvarnishapi
    
    Ref #3946

diff --git a/doc/changes.rst b/doc/changes.rst
index fb66ea442..1af371255 100644
--- a/doc/changes.rst
+++ b/doc/changes.rst
@@ -38,6 +38,8 @@ Varnish Cache NEXT (2023-09-15)
 .. PLEASE keep this roughly in commit order as shown by git-log / tig
    (new to old)
 
+* The ``VSHA256_*`` functions have been added to libvarnishapi.
+
 * Two bugs in the ban expression parser have been fixed where one of them
   could lead to a panic if a ban expression with an empty header name was
   issued (3962_)
diff --git a/lib/libvarnishapi/libvarnishapi.map b/lib/libvarnishapi/libvarnishapi.map
index 87a23a2b6..7fe8deb3c 100644
--- a/lib/libvarnishapi/libvarnishapi.map
+++ b/lib/libvarnishapi/libvarnishapi.map
@@ -168,6 +168,11 @@ LIBVARNISHAPI_3.1 {	/* 2023-09-15 release */
 	# venc.c
 		VENC_Encode_Base64;
 		VENC_Decode_Base64;
+	# vsha256.c
+		VSHA256_Init;
+		VSHA256_Update;
+		VSHA256_Final;
+		VSHA256_Test;
 
     local:
 	*;


More information about the varnish-commit mailing list