diff options
author | beck <> | 2022-11-14 17:48:50 +0000 |
---|---|---|
committer | beck <> | 2022-11-14 17:48:50 +0000 |
commit | 109899f1b36632f5f1c469c4f562df69585eb21e (patch) | |
tree | c42f727f8848b4a56e738422f26e8b44150174e4 /src/lib/libcrypto/x509/x509_crld.c | |
parent | fd2db7678bc81cd8abe106c7bd1c724c8b01888d (diff) | |
download | openbsd-109899f1b36632f5f1c469c4f562df69585eb21e.tar.gz openbsd-109899f1b36632f5f1c469c4f562df69585eb21e.tar.bz2 openbsd-109899f1b36632f5f1c469c4f562df69585eb21e.zip |
Hide public symbols in libcrypto/x509 .c files
ok tb@
Diffstat (limited to 'src/lib/libcrypto/x509/x509_crld.c')
-rw-r--r-- | src/lib/libcrypto/x509/x509_crld.c | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509_crld.c b/src/lib/libcrypto/x509/x509_crld.c index 6b6f795378..43150b21a9 100644 --- a/src/lib/libcrypto/x509/x509_crld.c +++ b/src/lib/libcrypto/x509/x509_crld.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_crld.c,v 1.2 2021/11/01 20:53:08 tb Exp $ */ | 1 | /* $OpenBSD: x509_crld.c,v 1.3 2022/11/14 17:48:50 beck Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -426,24 +426,28 @@ d2i_DIST_POINT_NAME(DIST_POINT_NAME **a, const unsigned char **in, long len) | |||
426 | return (DIST_POINT_NAME *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, | 426 | return (DIST_POINT_NAME *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, |
427 | &DIST_POINT_NAME_it); | 427 | &DIST_POINT_NAME_it); |
428 | } | 428 | } |
429 | LCRYPTO_ALIAS(d2i_DIST_POINT_NAME) | ||
429 | 430 | ||
430 | int | 431 | int |
431 | i2d_DIST_POINT_NAME(DIST_POINT_NAME *a, unsigned char **out) | 432 | i2d_DIST_POINT_NAME(DIST_POINT_NAME *a, unsigned char **out) |
432 | { | 433 | { |
433 | return ASN1_item_i2d((ASN1_VALUE *)a, out, &DIST_POINT_NAME_it); | 434 | return ASN1_item_i2d((ASN1_VALUE *)a, out, &DIST_POINT_NAME_it); |
434 | } | 435 | } |
436 | LCRYPTO_ALIAS(i2d_DIST_POINT_NAME) | ||
435 | 437 | ||
436 | DIST_POINT_NAME * | 438 | DIST_POINT_NAME * |
437 | DIST_POINT_NAME_new(void) | 439 | DIST_POINT_NAME_new(void) |
438 | { | 440 | { |
439 | return (DIST_POINT_NAME *)ASN1_item_new(&DIST_POINT_NAME_it); | 441 | return (DIST_POINT_NAME *)ASN1_item_new(&DIST_POINT_NAME_it); |
440 | } | 442 | } |
443 | LCRYPTO_ALIAS(DIST_POINT_NAME_new) | ||
441 | 444 | ||
442 | void | 445 | void |
443 | DIST_POINT_NAME_free(DIST_POINT_NAME *a) | 446 | DIST_POINT_NAME_free(DIST_POINT_NAME *a) |
444 | { | 447 | { |
445 | ASN1_item_free((ASN1_VALUE *)a, &DIST_POINT_NAME_it); | 448 | ASN1_item_free((ASN1_VALUE *)a, &DIST_POINT_NAME_it); |
446 | } | 449 | } |
450 | LCRYPTO_ALIAS(DIST_POINT_NAME_free) | ||
447 | 451 | ||
448 | static const ASN1_TEMPLATE DIST_POINT_seq_tt[] = { | 452 | static const ASN1_TEMPLATE DIST_POINT_seq_tt[] = { |
449 | { | 453 | { |
@@ -486,24 +490,28 @@ d2i_DIST_POINT(DIST_POINT **a, const unsigned char **in, long len) | |||
486 | return (DIST_POINT *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, | 490 | return (DIST_POINT *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, |
487 | &DIST_POINT_it); | 491 | &DIST_POINT_it); |
488 | } | 492 | } |
493 | LCRYPTO_ALIAS(d2i_DIST_POINT) | ||
489 | 494 | ||
490 | int | 495 | int |
491 | i2d_DIST_POINT(DIST_POINT *a, unsigned char **out) | 496 | i2d_DIST_POINT(DIST_POINT *a, unsigned char **out) |
492 | { | 497 | { |
493 | return ASN1_item_i2d((ASN1_VALUE *)a, out, &DIST_POINT_it); | 498 | return ASN1_item_i2d((ASN1_VALUE *)a, out, &DIST_POINT_it); |
494 | } | 499 | } |
500 | LCRYPTO_ALIAS(i2d_DIST_POINT) | ||
495 | 501 | ||
496 | DIST_POINT * | 502 | DIST_POINT * |
497 | DIST_POINT_new(void) | 503 | DIST_POINT_new(void) |
498 | { | 504 | { |
499 | return (DIST_POINT *)ASN1_item_new(&DIST_POINT_it); | 505 | return (DIST_POINT *)ASN1_item_new(&DIST_POINT_it); |
500 | } | 506 | } |
507 | LCRYPTO_ALIAS(DIST_POINT_new) | ||
501 | 508 | ||
502 | void | 509 | void |
503 | DIST_POINT_free(DIST_POINT *a) | 510 | DIST_POINT_free(DIST_POINT *a) |
504 | { | 511 | { |
505 | ASN1_item_free((ASN1_VALUE *)a, &DIST_POINT_it); | 512 | ASN1_item_free((ASN1_VALUE *)a, &DIST_POINT_it); |
506 | } | 513 | } |
514 | LCRYPTO_ALIAS(DIST_POINT_free) | ||
507 | 515 | ||
508 | static const ASN1_TEMPLATE CRL_DIST_POINTS_item_tt = { | 516 | static const ASN1_TEMPLATE CRL_DIST_POINTS_item_tt = { |
509 | .flags = ASN1_TFLG_SEQUENCE_OF, | 517 | .flags = ASN1_TFLG_SEQUENCE_OF, |
@@ -530,24 +538,28 @@ d2i_CRL_DIST_POINTS(CRL_DIST_POINTS **a, const unsigned char **in, long len) | |||
530 | return (CRL_DIST_POINTS *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, | 538 | return (CRL_DIST_POINTS *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, |
531 | &CRL_DIST_POINTS_it); | 539 | &CRL_DIST_POINTS_it); |
532 | } | 540 | } |
541 | LCRYPTO_ALIAS(d2i_CRL_DIST_POINTS) | ||
533 | 542 | ||
534 | int | 543 | int |
535 | i2d_CRL_DIST_POINTS(CRL_DIST_POINTS *a, unsigned char **out) | 544 | i2d_CRL_DIST_POINTS(CRL_DIST_POINTS *a, unsigned char **out) |
536 | { | 545 | { |
537 | return ASN1_item_i2d((ASN1_VALUE *)a, out, &CRL_DIST_POINTS_it); | 546 | return ASN1_item_i2d((ASN1_VALUE *)a, out, &CRL_DIST_POINTS_it); |
538 | } | 547 | } |
548 | LCRYPTO_ALIAS(i2d_CRL_DIST_POINTS) | ||
539 | 549 | ||
540 | CRL_DIST_POINTS * | 550 | CRL_DIST_POINTS * |
541 | CRL_DIST_POINTS_new(void) | 551 | CRL_DIST_POINTS_new(void) |
542 | { | 552 | { |
543 | return (CRL_DIST_POINTS *)ASN1_item_new(&CRL_DIST_POINTS_it); | 553 | return (CRL_DIST_POINTS *)ASN1_item_new(&CRL_DIST_POINTS_it); |
544 | } | 554 | } |
555 | LCRYPTO_ALIAS(CRL_DIST_POINTS_new) | ||
545 | 556 | ||
546 | void | 557 | void |
547 | CRL_DIST_POINTS_free(CRL_DIST_POINTS *a) | 558 | CRL_DIST_POINTS_free(CRL_DIST_POINTS *a) |
548 | { | 559 | { |
549 | ASN1_item_free((ASN1_VALUE *)a, &CRL_DIST_POINTS_it); | 560 | ASN1_item_free((ASN1_VALUE *)a, &CRL_DIST_POINTS_it); |
550 | } | 561 | } |
562 | LCRYPTO_ALIAS(CRL_DIST_POINTS_free) | ||
551 | 563 | ||
552 | static const ASN1_TEMPLATE ISSUING_DIST_POINT_seq_tt[] = { | 564 | static const ASN1_TEMPLATE ISSUING_DIST_POINT_seq_tt[] = { |
553 | { | 565 | { |
@@ -611,24 +623,28 @@ d2i_ISSUING_DIST_POINT(ISSUING_DIST_POINT **a, const unsigned char **in, long le | |||
611 | return (ISSUING_DIST_POINT *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, | 623 | return (ISSUING_DIST_POINT *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, |
612 | &ISSUING_DIST_POINT_it); | 624 | &ISSUING_DIST_POINT_it); |
613 | } | 625 | } |
626 | LCRYPTO_ALIAS(d2i_ISSUING_DIST_POINT) | ||
614 | 627 | ||
615 | int | 628 | int |
616 | i2d_ISSUING_DIST_POINT(ISSUING_DIST_POINT *a, unsigned char **out) | 629 | i2d_ISSUING_DIST_POINT(ISSUING_DIST_POINT *a, unsigned char **out) |
617 | { | 630 | { |
618 | return ASN1_item_i2d((ASN1_VALUE *)a, out, &ISSUING_DIST_POINT_it); | 631 | return ASN1_item_i2d((ASN1_VALUE *)a, out, &ISSUING_DIST_POINT_it); |
619 | } | 632 | } |
633 | LCRYPTO_ALIAS(i2d_ISSUING_DIST_POINT) | ||
620 | 634 | ||
621 | ISSUING_DIST_POINT * | 635 | ISSUING_DIST_POINT * |
622 | ISSUING_DIST_POINT_new(void) | 636 | ISSUING_DIST_POINT_new(void) |
623 | { | 637 | { |
624 | return (ISSUING_DIST_POINT *)ASN1_item_new(&ISSUING_DIST_POINT_it); | 638 | return (ISSUING_DIST_POINT *)ASN1_item_new(&ISSUING_DIST_POINT_it); |
625 | } | 639 | } |
640 | LCRYPTO_ALIAS(ISSUING_DIST_POINT_new) | ||
626 | 641 | ||
627 | void | 642 | void |
628 | ISSUING_DIST_POINT_free(ISSUING_DIST_POINT *a) | 643 | ISSUING_DIST_POINT_free(ISSUING_DIST_POINT *a) |
629 | { | 644 | { |
630 | ASN1_item_free((ASN1_VALUE *)a, &ISSUING_DIST_POINT_it); | 645 | ASN1_item_free((ASN1_VALUE *)a, &ISSUING_DIST_POINT_it); |
631 | } | 646 | } |
647 | LCRYPTO_ALIAS(ISSUING_DIST_POINT_free) | ||
632 | 648 | ||
633 | static int i2r_idp(const X509V3_EXT_METHOD *method, void *pidp, BIO *out, | 649 | static int i2r_idp(const X509V3_EXT_METHOD *method, void *pidp, BIO *out, |
634 | int indent); | 650 | int indent); |
@@ -809,3 +825,4 @@ DIST_POINT_set_dpname(DIST_POINT_NAME *dpn, X509_NAME *iname) | |||
809 | } | 825 | } |
810 | return 1; | 826 | return 1; |
811 | } | 827 | } |
828 | LCRYPTO_ALIAS(DIST_POINT_set_dpname) | ||