VirtualBox

source: vbox/trunk/src/libs/openssl-3.1.3/test/generate_buildtest.pl@ 102210

Last change on this file since 102210 was 101211, checked in by vboxsync, 15 months ago

openssl-3.1.3: Applied and adjusted our OpenSSL changes to 3.1.2. bugref:10527

File size: 796 bytes
Line 
1#! /usr/bin/env perl
2# Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved.
3#
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
8
9use strict;
10use warnings;
11
12# First argument is name;
13my $name = shift @ARGV;
14my $name_uc = uc $name;
15# All other arguments are ignored for now
16
17print <<"_____";
18/*
19 * Generated with test/generate_buildtest.pl, to check that such a simple
20 * program builds.
21 */
22#include <openssl/opensslconf.h>
23#ifndef OPENSSL_NO_STDIO
24# include <stdio.h>
25#endif
26#ifndef OPENSSL_NO_${name_uc}
27# include <openssl/$name.h>
28#endif
29
30int main(void)
31{
32 return 0;
33}
34_____
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette