Latest update
This commit is contained in:
@@ -142,6 +142,18 @@ sub name_synopsis()
|
||||
}
|
||||
}
|
||||
|
||||
# Check if EXAMPLES is located after RETURN VALUES section.
|
||||
sub check_example_location()
|
||||
{
|
||||
my $filename = shift;
|
||||
my $contents = shift;
|
||||
|
||||
return unless $contents =~ /=head1 RETURN VALUES/
|
||||
and $contents =~ /=head1 EXAMPLES/;
|
||||
print "$filename: RETURN VAULES should be placed before EXAMPLES section\n"
|
||||
if $contents =~ /=head1 EXAMPLES.*=head1 RETURN VALUES/ms;
|
||||
}
|
||||
|
||||
sub check()
|
||||
{
|
||||
my $filename = shift;
|
||||
@@ -155,6 +167,8 @@ sub check()
|
||||
close POD;
|
||||
}
|
||||
|
||||
&check_example_location($filename, $contents) if $filename =~ m|man3/|;
|
||||
|
||||
my $id = "${filename}:1:";
|
||||
|
||||
&name_synopsis($id, $filename, $contents)
|
||||
|
||||
+12
-1
@@ -4644,4 +4644,15 @@ CRYPTO_alloc_ex_data 4599 3_0_0 EXIST::FUNCTION:
|
||||
OPENSSL_CTX_new 4600 3_0_0 EXIST::FUNCTION:
|
||||
OPENSSL_CTX_free 4601 3_0_0 EXIST::FUNCTION:
|
||||
OPENSSL_LH_flush 4602 3_0_0 EXIST::FUNCTION:
|
||||
EVP_chacha20_poly1305_draft 4603 3_0_0 EXIST::FUNCTION:CHACHA,POLY1305
|
||||
BN_native2bn 4603 3_0_0 EXIST::FUNCTION:
|
||||
BN_bn2nativepad 4604 3_0_0 EXIST::FUNCTION:
|
||||
OSSL_trace_get_category_num 4605 3_0_0 EXIST::FUNCTION:
|
||||
OSSL_trace_get_category_name 4606 3_0_0 EXIST::FUNCTION:
|
||||
OSSL_trace_set_channel 4607 3_0_0 EXIST::FUNCTION:
|
||||
OSSL_trace_set_prefix 4608 3_0_0 EXIST::FUNCTION:
|
||||
OSSL_trace_set_suffix 4609 3_0_0 EXIST::FUNCTION:
|
||||
OSSL_trace_set_callback 4610 3_0_0 EXIST::FUNCTION:
|
||||
OSSL_trace_enabled 4611 3_0_0 EXIST::FUNCTION:
|
||||
OSSL_trace_begin 4612 3_0_0 EXIST::FUNCTION:
|
||||
OSSL_trace_end 4613 3_0_0 EXIST::FUNCTION:
|
||||
EVP_chacha20_poly1305_draft 4614 3_0_0 EXIST::FUNCTION:CHACHA,POLY1305
|
||||
@@ -1,7 +1,11 @@
|
||||
${-
|
||||
use File::Spec::Functions qw(rel2abs);
|
||||
|
||||
my $bldtop = rel2abs($config{builddir});
|
||||
our %names = ( map { platform->sharedname($_) =>
|
||||
$bldtop.platform->sharedlib($_) }
|
||||
@{$unified_info{install}->{libraries}} );
|
||||
grep { !$unified_info{attributes}->{$_}->{noinst} }
|
||||
@{$unified_info{libraries}} );
|
||||
"" -}
|
||||
$ ! Create a local environment with the shared library logical names
|
||||
$ ! properly set. Undo this with unlocal_shlib.com
|
||||
|
||||
+40
-20
@@ -257,7 +257,7 @@ my @opensslchandlers = (
|
||||
|
||||
#####
|
||||
# Global variable stuff
|
||||
{ regexp => qr/OPENSSL_DECLARE_GLOBAL<<<\((.*),(.*)\)>>>;/,
|
||||
{ regexp => qr/OPENSSL_DECLARE_GLOBAL<<<\((.*),\s*(.*)\)>>>;/,
|
||||
massager => sub { return (<<"EOF");
|
||||
#ifndef OPENSSL_EXPORT_VAR_AS_FUNCTION
|
||||
OPENSSL_EXPORT $1 _shadow_$2;
|
||||
@@ -331,7 +331,7 @@ EOF
|
||||
# return ("$before$stack_of$after");
|
||||
# }
|
||||
# },
|
||||
{ regexp => qr/SKM_DEFINE_STACK_OF<<<\((.*),(.*),(.*)\)>>>/,
|
||||
{ regexp => qr/SKM_DEFINE_STACK_OF<<<\((.*),\s*(.*),\s*(.*)\)>>>/,
|
||||
massager => sub {
|
||||
return (<<"EOF");
|
||||
STACK_OF($1);
|
||||
@@ -370,13 +370,13 @@ static ossl_inline sk_$1_compfunc sk_$1_set_cmp_func(STACK_OF($1) *sk,
|
||||
EOF
|
||||
}
|
||||
},
|
||||
{ regexp => qr/DEFINE_SPECIAL_STACK_OF<<<\((.*),(.*)\)>>>/,
|
||||
{ regexp => qr/DEFINE_SPECIAL_STACK_OF<<<\((.*),\s*(.*)\)>>>/,
|
||||
massager => sub { return ("SKM_DEFINE_STACK_OF($1,$2,$2)"); },
|
||||
},
|
||||
{ regexp => qr/DEFINE_STACK_OF<<<\((.*)\)>>>/,
|
||||
massager => sub { return ("SKM_DEFINE_STACK_OF($1,$1,$1)"); },
|
||||
},
|
||||
{ regexp => qr/DEFINE_SPECIAL_STACK_OF_CONST<<<\((.*),(.*)\)>>>/,
|
||||
{ regexp => qr/DEFINE_SPECIAL_STACK_OF_CONST<<<\((.*),\s*(.*)\)>>>/,
|
||||
massager => sub { return ("SKM_DEFINE_STACK_OF($1,const $2,$2)"); },
|
||||
},
|
||||
{ regexp => qr/DEFINE_STACK_OF_CONST<<<\((.*)\)>>>/,
|
||||
@@ -388,7 +388,7 @@ EOF
|
||||
{ regexp => qr/DECLARE_STACK_OF<<<\((.*)\)>>>/,
|
||||
massager => sub { return ("STACK_OF($1);"); }
|
||||
},
|
||||
{ regexp => qr/DECLARE_SPECIAL_STACK_OF<<<\((.*?),(.*?)\)>>>/,
|
||||
{ regexp => qr/DECLARE_SPECIAL_STACK_OF<<<\((.*?),\s*(.*?)\)>>>/,
|
||||
massager => sub { return ("STACK_OF($1);"); }
|
||||
},
|
||||
|
||||
@@ -421,7 +421,15 @@ const ASN1_ITEM *$1_it(void);
|
||||
EOF
|
||||
},
|
||||
},
|
||||
{ regexp => qr/DECLARE_ASN1_ENCODE_FUNCTIONS<<<\((.*),(.*),(.*)\)>>>/,
|
||||
{ regexp => qr/DECLARE_ASN1_ENCODE_FUNCTIONS_only<<<\((.*),\s*(.*)\)>>>/,
|
||||
massager => sub {
|
||||
return (<<"EOF");
|
||||
int d2i_$2(void);
|
||||
int i2d_$2(void);
|
||||
EOF
|
||||
},
|
||||
},
|
||||
{ regexp => qr/DECLARE_ASN1_ENCODE_FUNCTIONS<<<\((.*),\s*(.*),\s*(.*)\)>>>/,
|
||||
massager => sub {
|
||||
return (<<"EOF");
|
||||
int d2i_$3(void);
|
||||
@@ -430,12 +438,20 @@ DECLARE_ASN1_ITEM($2)
|
||||
EOF
|
||||
},
|
||||
},
|
||||
{ regexp => qr/DECLARE_ASN1_ENCODE_FUNCTIONS_const<<<\((.*),(.*)\)>>>/,
|
||||
{ regexp => qr/DECLARE_ASN1_ENCODE_FUNCTIONS_name<<<\((.*),\s*(.*)\)>>>/,
|
||||
massager => sub {
|
||||
return (<<"EOF");
|
||||
int d2i_$2(void);
|
||||
int i2d_$2(void);
|
||||
DECLARE_ASN1_ITEM($2)
|
||||
EOF
|
||||
},
|
||||
},
|
||||
{ regexp => qr/DECLARE_ASN1_ALLOC_FUNCTIONS_name<<<\((.*),\s*(.*)\)>>>/,
|
||||
massager => sub {
|
||||
return (<<"EOF");
|
||||
int $2_free(void);
|
||||
int $2_new(void);
|
||||
EOF
|
||||
},
|
||||
},
|
||||
@@ -447,7 +463,7 @@ int $1_new(void);
|
||||
EOF
|
||||
},
|
||||
},
|
||||
{ regexp => qr/DECLARE_ASN1_FUNCTIONS_name<<<\((.*),(.*)\)>>>/,
|
||||
{ regexp => qr/DECLARE_ASN1_FUNCTIONS_name<<<\((.*),\s*(.*)\)>>>/,
|
||||
massager => sub {
|
||||
return (<<"EOF");
|
||||
int d2i_$2(void);
|
||||
@@ -458,17 +474,7 @@ DECLARE_ASN1_ITEM($2)
|
||||
EOF
|
||||
},
|
||||
},
|
||||
{ regexp => qr/DECLARE_ASN1_FUNCTIONS_fname<<<\((.*),(.*),(.*)\)>>>/,
|
||||
massager => sub { return (<<"EOF");
|
||||
int d2i_$3(void);
|
||||
int i2d_$3(void);
|
||||
int $3_free(void);
|
||||
int $3_new(void);
|
||||
DECLARE_ASN1_ITEM($2)
|
||||
EOF
|
||||
}
|
||||
},
|
||||
{ regexp => qr/DECLARE_ASN1_FUNCTIONS(?:_const)?<<<\((.*)\)>>>/,
|
||||
{ regexp => qr/DECLARE_ASN1_FUNCTIONS<<<\((.*)\)>>>/,
|
||||
massager => sub { return (<<"EOF");
|
||||
int d2i_$1(void);
|
||||
int i2d_$1(void);
|
||||
@@ -492,7 +498,7 @@ int $1_print_ctx(void);
|
||||
EOF
|
||||
}
|
||||
},
|
||||
{ regexp => qr/DECLARE_ASN1_PRINT_FUNCTION_name<<<\((.*),(.*)\)>>>/,
|
||||
{ regexp => qr/DECLARE_ASN1_PRINT_FUNCTION_name<<<\((.*),\s*(.*)\)>>>/,
|
||||
massager => sub {
|
||||
return (<<"EOF");
|
||||
int $2_print_ctx(void);
|
||||
@@ -502,6 +508,20 @@ EOF
|
||||
{ regexp => qr/DECLARE_ASN1_SET_OF<<<\((.*)\)>>>/,
|
||||
massager => sub { return (); }
|
||||
},
|
||||
{ regexp => qr/DECLARE_ASN1_DUP_FUNCTION<<<\((.*)\)>>>/,
|
||||
massager => sub {
|
||||
return (<<"EOF");
|
||||
int $1_dup(void);
|
||||
EOF
|
||||
}
|
||||
},
|
||||
{ regexp => qr/DECLARE_ASN1_DUP_FUNCTION_name<<<\((.*),\s*(.*)\)>>>/,
|
||||
massager => sub {
|
||||
return (<<"EOF");
|
||||
int $2_dup(void);
|
||||
EOF
|
||||
}
|
||||
},
|
||||
{ regexp => qr/DECLARE_PKCS12_SET_OF<<<\((.*)\)>>>/,
|
||||
massager => sub { return (); }
|
||||
},
|
||||
|
||||
@@ -140,7 +140,7 @@ sub extract_pod_info {
|
||||
$podinfo{lastsecttext} =~ s| - .*$||;
|
||||
|
||||
my @names =
|
||||
map { s|\s+||g; $_ }
|
||||
map { s|\s+||g; s|/|-|g; $_ }
|
||||
split(m|,|, $podinfo{lastsecttext});
|
||||
|
||||
return ( section => $podinfo{section}, names => [ @names ] );
|
||||
|
||||
@@ -32,6 +32,7 @@ GEN_SESSION_CB datatype
|
||||
OPENSSL_Applink external
|
||||
OPENSSL_CTX datatype
|
||||
NAMING_AUTHORITY datatype
|
||||
OSSL_PARAM datatype
|
||||
OSSL_STORE_CTX datatype
|
||||
OSSL_STORE_INFO datatype
|
||||
OSSL_STORE_LOADER datatype
|
||||
@@ -46,6 +47,7 @@ OSSL_STORE_error_fn datatype
|
||||
OSSL_STORE_load_fn datatype
|
||||
OSSL_STORE_open_fn datatype
|
||||
OSSL_STORE_post_process_info_fn datatype
|
||||
OSSL_trace_cb datatype
|
||||
PROFESSION_INFO datatype
|
||||
PROFESSION_INFOS datatype
|
||||
RAND_DRBG_cleanup_entropy_fn datatype
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
${-
|
||||
use File::Spec::Functions qw(rel2abs);
|
||||
|
||||
my $bldtop = rel2abs($config{builddir});
|
||||
our %names = ( map { platform->sharedname($_) =>
|
||||
$bldtop.platform->sharedlib($_) }
|
||||
@{$unified_info{install}->{libraries}} );
|
||||
grep { !$unified_info{attributes}->{$_}->{noinst} }
|
||||
@{$unified_info{libraries}} );
|
||||
"" -}
|
||||
$ ! Remove the local environment created by local_shlib.com
|
||||
$
|
||||
|
||||
Reference in New Issue
Block a user