[cpp-sp] branch main updated: Fix doc manifest, add const to inline fn.

Codeberg noreply at shibboleth.net
Tue Sep 8 15:32:19 UTC 2026


This is an automated email from the git hooks/post-receive script.

codeberg pushed a commit to branch main
in repository cpp-sp.

View the commit online:
https://codeberg.org/Shibboleth/cpp-sp/commit/539ef3d2252d82cd48df8dd584b3f157e5dfd991

The following commit(s) were added to refs/heads/main by this push:
     new 539ef3d2 Fix doc manifest, add const to inline fn.
539ef3d2 is described below

commit 539ef3d2252d82cd48df8dd584b3f157e5dfd991
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Tue Sep 8 11:32:08 2026 -0400

    Fix doc manifest, add const to inline fn.
---
 doc/Makefile.am    | 1 -
 shibsp/util/Misc.h | 4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/doc/Makefile.am b/doc/Makefile.am
index 567b602c..e13fca4c 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -13,7 +13,6 @@ docfiles = \
 	NOTICE.txt \
 	README.txt \
 	RELEASE.txt \
-	CSPRNG.LICENSE \
 	FASTCGI.LICENSE
 
 pkgdoc_DATA = $(docfiles)
diff --git a/shibsp/util/Misc.h b/shibsp/util/Misc.h
index 6cb27a93..928ab156 100644
--- a/shibsp/util/Misc.h
+++ b/shibsp/util/Misc.h
@@ -52,7 +52,7 @@ namespace shibsp {
      * 
      * @return encoded string
      */
-    static inline std::string hex_encode(std::string& s) {
+    static inline std::string hex_encode(const std::string& s) {
         static char DIGITS[] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'};
 
         std::string ret;
@@ -132,4 +132,4 @@ namespace shibsp {
      */
     SHIBSP_API std::vector<std::string>::size_type split_to_container(std::vector<std::string>& container, const char* s);
     SHIBSP_API std::set<std::string>::size_type split_to_container(std::set<std::string>& container, const char* s);
-};
\ No newline at end of file
+};

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list