Module: kamailio Branch: master Commit: 2aa82b11809ef3bd9b26b24cb450b4fdd07411a4 URL: https://github.com/kamailio/kamailio/commit/2aa82b11809ef3bd9b26b24cb450b4fdd07411a4
Author: Henning Westerholt <[email protected]> Committer: Henning Westerholt <[email protected]> Date: 2026-01-05T09:11:40Z core: add MIT licence header (as already referenced in the file) to SHA3 implementation --- Modified: src/core/crypto/sha3.c Modified: src/core/crypto/sha3.h --- Diff: https://github.com/kamailio/kamailio/commit/2aa82b11809ef3bd9b26b24cb450b4fdd07411a4.diff Patch: https://github.com/kamailio/kamailio/commit/2aa82b11809ef3bd9b26b24cb450b4fdd07411a4.patch --- diff --git a/src/core/crypto/sha3.c b/src/core/crypto/sha3.c index 60035d24900..573b84c5558 100644 --- a/src/core/crypto/sha3.c +++ b/src/core/crypto/sha3.c @@ -1,3 +1,27 @@ +/* +* MIT License +* +* Copyright (c) 2020 brainhub +* +* Permission is hereby granted, free of charge, to any person obtaining a copy +* of this software and associated documentation files (the "Software"), to deal +* in the Software without restriction, including without limitation the rights +* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +* copies of the Software, and to permit persons to whom the Software is +* furnished to do so, subject to the following conditions: +* +* The above copyright notice and this permission notice shall be included in all +* copies or substantial portions of the Software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +* SOFTWARE. +*/ + /* ------------------------------------------------------------------------- * Works when compiled for either 32-bit or 64-bit targets, optimized for * 64 bit. diff --git a/src/core/crypto/sha3.h b/src/core/crypto/sha3.h index 85120f36536..3bfffea5884 100644 --- a/src/core/crypto/sha3.h +++ b/src/core/crypto/sha3.h @@ -1,3 +1,27 @@ +/* +* MIT License +* +* Copyright (c) 2020 brainhub +* +* Permission is hereby granted, free of charge, to any person obtaining a copy +* of this software and associated documentation files (the "Software"), to deal +* in the Software without restriction, including without limitation the rights +* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +* copies of the Software, and to permit persons to whom the Software is +* furnished to do so, subject to the following conditions: +* +* The above copyright notice and this permission notice shall be included in all +* copies or substantial portions of the Software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +* SOFTWARE. +*/ + #ifndef SHA3_H #define SHA3_H _______________________________________________ Kamailio - Development Mailing List -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!
