Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
printf "extern OPTIONS %s_options[];\n", $_;
}
+print "\n#ifdef INCLUDE_FUNCTION_TABLE\n";
+print "static FUNCTION functions[] = {\n";
my %cmd_disabler = (
ciphers => "sock",
genrsa => "rsa",
ecparam => "ec",
pkcs12 => "des",
);
-print "\nstatic FUNCTION functions[] = {\n";
foreach my $cmd (@ARGV) {
my $str=" { FT_general, \"$cmd\", ${cmd}_main, ${cmd}_options },\n";
if ($cmd =~ /^s_/) {
}
print " { 0, NULL, NULL}\n};\n";
+print "#endif\n";