diff options
author | jsing <> | 2023-01-21 15:53:54 +0000 |
---|---|---|
committer | jsing <> | 2023-01-21 15:53:54 +0000 |
commit | 07faf72834674263f38b4e1ea4b614430398918f (patch) | |
tree | 28213f800086e74f25a0ff206a1d2aa23297aace /src | |
parent | 40da1146e5d2cf8d7f6567ef7f0bf32aa996d38d (diff) | |
download | openbsd-07faf72834674263f38b4e1ea4b614430398918f.tar.gz openbsd-07faf72834674263f38b4e1ea4b614430398918f.tar.bz2 openbsd-07faf72834674263f38b4e1ea4b614430398918f.zip |
Include the ISC license from s2n-bignum's LICENSE file.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/bn/s2n_bignum.h | 13 | ||||
-rw-r--r-- | src/lib/libcrypto/bn/s2n_bignum_internal.h | 13 |
2 files changed, 25 insertions, 1 deletions
diff --git a/src/lib/libcrypto/bn/s2n_bignum.h b/src/lib/libcrypto/bn/s2n_bignum.h index d0c1df66eb..ce6e8cdc94 100644 --- a/src/lib/libcrypto/bn/s2n_bignum.h +++ b/src/lib/libcrypto/bn/s2n_bignum.h | |||
@@ -1,5 +1,16 @@ | |||
1 | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | 1 | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. |
2 | // SPDX-License-Identifier: Apache-2.0 OR ISC | 2 | // |
3 | // Permission to use, copy, modify, and/or distribute this software for any | ||
4 | // purpose with or without fee is hereby granted, provided that the above | ||
5 | // copyright notice and this permission notice appear in all copies. | ||
6 | // | ||
7 | // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
8 | // WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
9 | // MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
10 | // ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
11 | // WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
12 | // ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
13 | // OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
3 | 14 | ||
4 | // ---------------------------------------------------------------------------- | 15 | // ---------------------------------------------------------------------------- |
5 | // C prototypes for s2n-bignum functions, so you can use them in C programs via | 16 | // C prototypes for s2n-bignum functions, so you can use them in C programs via |
diff --git a/src/lib/libcrypto/bn/s2n_bignum_internal.h b/src/lib/libcrypto/bn/s2n_bignum_internal.h index ac675836f3..f413688338 100644 --- a/src/lib/libcrypto/bn/s2n_bignum_internal.h +++ b/src/lib/libcrypto/bn/s2n_bignum_internal.h | |||
@@ -1,3 +1,16 @@ | |||
1 | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
2 | // | ||
3 | // Permission to use, copy, modify, and/or distribute this software for any | ||
4 | // purpose with or without fee is hereby granted, provided that the above | ||
5 | // copyright notice and this permission notice appear in all copies. | ||
6 | // | ||
7 | // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
8 | // WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
9 | // MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
10 | // ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
11 | // WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
12 | // ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
13 | // OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
1 | 14 | ||
2 | #ifdef __APPLE__ | 15 | #ifdef __APPLE__ |
3 | # define S2N_BN_SYMBOL(NAME) _##NAME | 16 | # define S2N_BN_SYMBOL(NAME) _##NAME |