2 # Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
4 # Licensed under the Apache License 2.0 (the "License"). You may not use
5 # this file except in compliance with the License. You can obtain a copy
6 # in the file LICENSE in the source distribution or at
7 # https://www.openssl.org/source/license.html
9 use lib "$FindBin::Bin/../util/perl";
10 use OpenSSL::copyright;
12 my $obj_dat_h = $ARGV[0];
13 my $YEAR = OpenSSL::copyright::latest(($0, $obj_dat_h));
15 # WARNING: do not edit!
16 # Generated by fuzz/mkfuzzoids.pl
18 # Copyright 2020-$YEAR The OpenSSL Project Authors. All Rights Reserved.
20 # Licensed under the Apache License 2.0 (the "License"). You may not use
21 # this file except in compliance with the License. You can obtain a copy
22 # in the file LICENSE in the source distribution or at
23 # https://www.openssl.org/source/license.html
26 open IN, '<', $obj_dat_h
27 || die "Couldn't open $obj_dat_h : $!\n";
30 s|\R$||; # Better chomp
32 next unless m|^\s+((0x[0-9A-F][0-9A-F],)*)\s+/\*\s\[\s*\d+\]\s(OBJ_\w+)\s\*/$|;
40 print "$OBJname=\"$OID\"\n";