diff options
| author | schwarze <> | 2021-12-14 20:21:45 +0000 |
|---|---|---|
| committer | schwarze <> | 2021-12-14 20:21:45 +0000 |
| commit | ecf77b0411cf4dda5df474701c89d0b4a985affb (patch) | |
| tree | d71fed2ca33ad5d23978937e30172fca005e5995 | |
| parent | c6168e1b2253762b83120703bfa813810a1905c9 (diff) | |
| download | openbsd-ecf77b0411cf4dda5df474701c89d0b4a985affb.tar.gz openbsd-ecf77b0411cf4dda5df474701c89d0b4a985affb.tar.bz2 openbsd-ecf77b0411cf4dda5df474701c89d0b4a985affb.zip | |
more symbols that are postponed or intentionally undocumented and
some regexp tweaks; the relevant parts of asn1.h are nearing completion
| -rwxr-xr-x | src/regress/lib/libcrypto/man/check_complete.pl | 61 |
1 files changed, 55 insertions, 6 deletions
diff --git a/src/regress/lib/libcrypto/man/check_complete.pl b/src/regress/lib/libcrypto/man/check_complete.pl index 3af44218b6..4d703299ae 100755 --- a/src/regress/lib/libcrypto/man/check_complete.pl +++ b/src/regress/lib/libcrypto/man/check_complete.pl | |||
| @@ -18,7 +18,42 @@ use strict; | |||
| 18 | use warnings; | 18 | use warnings; |
| 19 | 19 | ||
| 20 | my @obsolete = qw( | 20 | my @obsolete = qw( |
| 21 | ASN1_dup ASN1_d2i_bio ASN1_d2i_bio_of ASN1_d2i_fp ASN1_d2i_fp_of | ||
| 22 | ASN1_i2d_bio ASN1_i2d_bio_of ASN1_i2d_bio_of_const | ||
| 23 | ASN1_i2d_fp ASN1_i2d_fp_of ASN1_i2d_fp_of_const | ||
| 24 | ASN1_LONG_UNDEF | ||
| 25 | ASN1_OBJECT_FLAG_CRITICAL ASN1_OBJECT_FLAG_DYNAMIC | ||
| 26 | ASN1_OBJECT_FLAG_DYNAMIC_DATA ASN1_OBJECT_FLAG_DYNAMIC_STRINGS | ||
| 27 | ASN1_STRING_FLAG_BITS_LEFT ASN1_STRING_FLAG_CONT | ||
| 28 | ASN1_STRING_FLAG_MSTRING ASN1_STRING_FLAG_NDEF | ||
| 29 | CHARTYPE_FIRST_ESC_2253 CHARTYPE_LAST_ESC_2253 CHARTYPE_PRINTABLESTRING | ||
| 30 | d2i_NETSCAPE_X509 | ||
| 31 | NETSCAPE_X509_free NETSCAPE_X509_new | ||
| 32 | i2d_NETSCAPE_X509 | ||
| 33 | ub_title | ||
| 34 | V_ASN1_PRIMATIVE_TAG | ||
| 35 | X509_algor_st | ||
| 36 | X509_EX_V_INIT X509_EX_V_NETSCAPE_HACK | ||
| 37 | X509_EXT_PACK_STRING X509_EXT_PACK_UNKNOWN | ||
| 38 | X509_VERIFY_PARAM_ID | ||
| 39 | ); | ||
| 40 | |||
| 41 | # postponed | ||
| 42 | push @obsolete, qw( | ||
| 43 | ASN1_ITEM_ptr ASN1_ITEM_ref ASN1_ITEM_rptr | ||
| 44 | CHECKED_D2I_OF CHECKED_I2D_OF CHECKED_NEW_OF CHECKED_PPTR_OF CHECKED_PTR_OF | ||
| 45 | DECLARE_ASN1_ALLOC_FUNCTIONS DECLARE_ASN1_ALLOC_FUNCTIONS_name | ||
| 46 | DECLARE_ASN1_ENCODE_FUNCTIONS DECLARE_ASN1_ENCODE_FUNCTIONS_const | ||
| 47 | DECLARE_ASN1_FUNCTIONS DECLARE_ASN1_FUNCTIONS_const | ||
| 48 | DECLARE_ASN1_FUNCTIONS_fname DECLARE_ASN1_FUNCTIONS_name | ||
| 49 | DECLARE_ASN1_ITEM | ||
| 50 | DECLARE_ASN1_NDEF_FUNCTION | ||
| 51 | DECLARE_ASN1_PRINT_FUNCTION DECLARE_ASN1_PRINT_FUNCTION_fname | ||
| 52 | DECLARE_ASN1_SET_OF | ||
| 53 | D2I_OF | ||
| 21 | d2i_PBEPARAM d2i_PBE2PARAM d2i_PBKDF2PARAM | 54 | d2i_PBEPARAM d2i_PBE2PARAM d2i_PBKDF2PARAM |
| 55 | IMPLEMENT_ASN1_SET_OF | ||
| 56 | I2D_OF I2D_OF_const | ||
| 22 | i2d_PBEPARAM i2d_PBE2PARAM i2d_PBKDF2PARAM | 57 | i2d_PBEPARAM i2d_PBE2PARAM i2d_PBKDF2PARAM |
| 23 | NETSCAPE_SPKAC NETSCAPE_SPKI | 58 | NETSCAPE_SPKAC NETSCAPE_SPKI |
| 24 | PBEPARAM PBEPARAM_free PBEPARAM_new | 59 | PBEPARAM PBEPARAM_free PBEPARAM_new |
| @@ -27,9 +62,7 @@ my @obsolete = qw( | |||
| 27 | PKCS5_pbe_set PKCS5_pbe_set0_algor | 62 | PKCS5_pbe_set PKCS5_pbe_set0_algor |
| 28 | PKCS5_pbe2_set PKCS5_pbe2_set_iv | 63 | PKCS5_pbe2_set PKCS5_pbe2_set_iv |
| 29 | PKCS5_pbkdf2_set | 64 | PKCS5_pbkdf2_set |
| 30 | X509_EX_V_INIT X509_EX_V_NETSCAPE_HACK | 65 | TYPEDEF_D2I_OF TYPEDEF_D2I2D_OF TYPEDEF_I2D_OF |
| 31 | X509_EXT_PACK_STRING X509_EXT_PACK_UNKNOWN | ||
| 32 | X509_VERIFY_PARAM_ID | ||
| 33 | ); | 66 | ); |
| 34 | 67 | ||
| 35 | my $MANW = 'man -M /usr/share/man -w'; | 68 | my $MANW = 'man -M /usr/share/man -w'; |
| @@ -180,11 +213,15 @@ try_again: | |||
| 180 | print "Fn $line\n" if $verbose; | 213 | print "Fn $line\n" if $verbose; |
| 181 | next; | 214 | next; |
| 182 | } | 215 | } |
| 183 | unless (system qw/grep -qR/, '^\.\\\\" ' . $id . '\>', | 216 | unless (system qw/grep -qR/, '^\.\\\\" .*\<' . $id . '\>', |
| 184 | "$srcdir/") { | 217 | "$srcdir/") { |
| 185 | print "D- $line\n" if $verbose; | 218 | print "D- $line\n" if $verbose; |
| 186 | next; | 219 | next; |
| 187 | } | 220 | } |
| 221 | if ($id =~ /^ASN1_PCTX_FLAGS_\w+$/) { | ||
| 222 | print "D- $line\n" if $verbose; | ||
| 223 | next; | ||
| 224 | } | ||
| 188 | if ($id =~ /^(?:ASN1|X509(?:V3)?)_[FR]_\w+$/) { | 225 | if ($id =~ /^(?:ASN1|X509(?:V3)?)_[FR]_\w+$/) { |
| 189 | print "D- $line\n" if $verbose; | 226 | print "D- $line\n" if $verbose; |
| 190 | next; | 227 | next; |
| @@ -210,11 +247,15 @@ try_again: | |||
| 210 | print "Fn $line\n" if $verbose; | 247 | print "Fn $line\n" if $verbose; |
| 211 | next; | 248 | next; |
| 212 | } | 249 | } |
| 213 | unless (system qw/grep -qR/, '^\.\\\\" .*' . $id . '(3)', | 250 | unless (system qw/grep -qR/, '^\.\\\\" .*\<' . $id . '(3)', |
| 214 | "$srcdir/") { | 251 | "$srcdir/") { |
| 215 | print "F- $line\n" if $verbose; | 252 | print "F- $line\n" if $verbose; |
| 216 | next; | 253 | next; |
| 217 | } | 254 | } |
| 255 | if (grep { $_ eq $id } @obsolete) { | ||
| 256 | print "F- $line\n" if $verbose; | ||
| 257 | next; | ||
| 258 | } | ||
| 218 | if ($verbose) { | 259 | if ($verbose) { |
| 219 | print "XX $line\n"; | 260 | print "XX $line\n"; |
| 220 | } else { | 261 | } else { |
| @@ -230,6 +271,10 @@ try_again: | |||
| 230 | print "Vt $line\n" if $verbose; | 271 | print "Vt $line\n" if $verbose; |
| 231 | next; | 272 | next; |
| 232 | } | 273 | } |
| 274 | if (grep { $_ eq $id } @obsolete) { | ||
| 275 | print "V- $line\n" if $verbose; | ||
| 276 | next; | ||
| 277 | } | ||
| 233 | if ($verbose) { | 278 | if ($verbose) { |
| 234 | print "XX $line\n"; | 279 | print "XX $line\n"; |
| 235 | } else { | 280 | } else { |
| @@ -286,7 +331,7 @@ try_again: | |||
| 286 | print "F- $line\n" if $verbose; | 331 | print "F- $line\n" if $verbose; |
| 287 | next; | 332 | next; |
| 288 | } | 333 | } |
| 289 | unless (system qw/grep -qR/, '^\.\\\\" .*' . $id . '\>', | 334 | unless (system qw/grep -qR/, '^\.\\\\" .*\<' . $id . '\>', |
| 290 | "$srcdir/") { | 335 | "$srcdir/") { |
| 291 | print "F- $line\n" if $verbose; | 336 | print "F- $line\n" if $verbose; |
| 292 | next; | 337 | next; |
| @@ -295,6 +340,10 @@ try_again: | |||
| 295 | print "F- $line\n" if $verbose; | 340 | print "F- $line\n" if $verbose; |
| 296 | next; | 341 | next; |
| 297 | } | 342 | } |
| 343 | if ($id =~ /^ASN1_PCTX_\w+$/) { | ||
| 344 | print "F- $line\n" if $verbose; | ||
| 345 | next; | ||
| 346 | } | ||
| 298 | if ($verbose) { | 347 | if ($verbose) { |
| 299 | print "XX $line\n"; | 348 | print "XX $line\n"; |
| 300 | } else { | 349 | } else { |
