diff options
| author | Enji Cooper <ngie@FreeBSD.org> | 2023-03-01 04:21:31 +0000 |
|---|---|---|
| committer | Enji Cooper <ngie@FreeBSD.org> | 2023-03-06 20:41:29 +0000 |
| commit | e4520c8bd1d300a7a338d0ed4af171a2d0e583ef (patch) | |
| tree | 26fed32699a59a50cfbc90a2eb4dac39b498d9ae /crypto/objects/objects.pl | |
| parent | 3c320f4e5ee3d575d48eee7edddbafa059bce3c9 (diff) | |
Diffstat (limited to 'crypto/objects/objects.pl')
| -rw-r--r-- | crypto/objects/objects.pl | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/crypto/objects/objects.pl b/crypto/objects/objects.pl index 8b258d4df509..51bc248b3f00 100644 --- a/crypto/objects/objects.pl +++ b/crypto/objects/objects.pl @@ -1,7 +1,7 @@ #! /usr/bin/env perl -# Copyright 2000-2022 The OpenSSL Project Authors. All Rights Reserved. +# Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved. # -# Licensed under the OpenSSL license (the "License"). You may not use +# Licensed under the Apache License 2.0 (the "License"). You may not use # this file except in compliance with the License. You can obtain a copy # in the file LICENSE in the source distribution or at # https://www.openssl.org/source/license.html @@ -141,12 +141,16 @@ print <<"EOF"; * Generated by crypto/objects/objects.pl * * Copyright 2000-$YEAR The OpenSSL Project Authors. All Rights Reserved. - * Licensed under the OpenSSL license (the "License"). You may not use + * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/license.html */ +#ifndef OPENSSL_OBJ_MAC_H +# define OPENSSL_OBJ_MAC_H +# pragma once + #define SN_undef "UNDEF" #define LN_undef "undefined" #define NID_undef 0 @@ -172,6 +176,11 @@ foreach (sort { $a <=> $b } keys %ordern) print expand("#define OBJ_$Cname\t\t$obj{$Cname}\n") if $obj{$Cname} ne ""; } +print <<EOF; + +#endif /* OPENSSL_OBJ_MAC_H */ +EOF + sub process_oid { local($oid)=@_; |
