summaryrefslogtreecommitdiff
path: root/crypto/objects/objects.pl
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/objects/objects.pl')
-rw-r--r--crypto/objects/objects.pl15
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)=@_;