summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ocsp/ocsp_asn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ocsp/ocsp_asn.c')
-rw-r--r--src/lib/libcrypto/ocsp/ocsp_asn.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/lib/libcrypto/ocsp/ocsp_asn.c b/src/lib/libcrypto/ocsp/ocsp_asn.c
index 4fbdd5fd7f..abceaac832 100644
--- a/src/lib/libcrypto/ocsp/ocsp_asn.c
+++ b/src/lib/libcrypto/ocsp/ocsp_asn.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ocsp_asn.c,v 1.11 2023/07/08 10:44:00 beck Exp $ */ 1/* $OpenBSD: ocsp_asn.c,v 1.12 2024/07/08 14:53:11 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 2000. 3 * project 2000.
4 */ 4 */
@@ -94,6 +94,7 @@ const ASN1_ITEM OCSP_SIGNATURE_it = {
94 .size = sizeof(OCSP_SIGNATURE), 94 .size = sizeof(OCSP_SIGNATURE),
95 .sname = "OCSP_SIGNATURE", 95 .sname = "OCSP_SIGNATURE",
96}; 96};
97LCRYPTO_ALIAS(OCSP_SIGNATURE_it);
97 98
98 99
99OCSP_SIGNATURE * 100OCSP_SIGNATURE *
@@ -165,6 +166,7 @@ const ASN1_ITEM OCSP_CERTID_it = {
165 .size = sizeof(OCSP_CERTID), 166 .size = sizeof(OCSP_CERTID),
166 .sname = "OCSP_CERTID", 167 .sname = "OCSP_CERTID",
167}; 168};
169LCRYPTO_ALIAS(OCSP_CERTID_it);
168 170
169 171
170OCSP_CERTID * 172OCSP_CERTID *
@@ -222,6 +224,7 @@ const ASN1_ITEM OCSP_ONEREQ_it = {
222 .size = sizeof(OCSP_ONEREQ), 224 .size = sizeof(OCSP_ONEREQ),
223 .sname = "OCSP_ONEREQ", 225 .sname = "OCSP_ONEREQ",
224}; 226};
227LCRYPTO_ALIAS(OCSP_ONEREQ_it);
225 228
226 229
227OCSP_ONEREQ * 230OCSP_ONEREQ *
@@ -293,6 +296,7 @@ const ASN1_ITEM OCSP_REQINFO_it = {
293 .size = sizeof(OCSP_REQINFO), 296 .size = sizeof(OCSP_REQINFO),
294 .sname = "OCSP_REQINFO", 297 .sname = "OCSP_REQINFO",
295}; 298};
299LCRYPTO_ALIAS(OCSP_REQINFO_it);
296 300
297 301
298OCSP_REQINFO * 302OCSP_REQINFO *
@@ -350,6 +354,7 @@ const ASN1_ITEM OCSP_REQUEST_it = {
350 .size = sizeof(OCSP_REQUEST), 354 .size = sizeof(OCSP_REQUEST),
351 .sname = "OCSP_REQUEST", 355 .sname = "OCSP_REQUEST",
352}; 356};
357LCRYPTO_ALIAS(OCSP_REQUEST_it);
353 358
354OCSP_REQUEST * 359OCSP_REQUEST *
355d2i_OCSP_REQUEST(OCSP_REQUEST **a, const unsigned char **in, long len) 360d2i_OCSP_REQUEST(OCSP_REQUEST **a, const unsigned char **in, long len)
@@ -422,6 +427,7 @@ const ASN1_ITEM OCSP_RESPBYTES_it = {
422 .size = sizeof(OCSP_RESPBYTES), 427 .size = sizeof(OCSP_RESPBYTES),
423 .sname = "OCSP_RESPBYTES", 428 .sname = "OCSP_RESPBYTES",
424}; 429};
430LCRYPTO_ALIAS(OCSP_RESPBYTES_it);
425 431
426 432
427OCSP_RESPBYTES * 433OCSP_RESPBYTES *
@@ -479,6 +485,7 @@ const ASN1_ITEM OCSP_RESPONSE_it = {
479 .size = sizeof(OCSP_RESPONSE), 485 .size = sizeof(OCSP_RESPONSE),
480 .sname = "OCSP_RESPONSE", 486 .sname = "OCSP_RESPONSE",
481}; 487};
488LCRYPTO_ALIAS(OCSP_RESPONSE_it);
482 489
483 490
484OCSP_RESPONSE * 491OCSP_RESPONSE *
@@ -550,6 +557,7 @@ const ASN1_ITEM OCSP_RESPID_it = {
550 .size = sizeof(OCSP_RESPID), 557 .size = sizeof(OCSP_RESPID),
551 .sname = "OCSP_RESPID", 558 .sname = "OCSP_RESPID",
552}; 559};
560LCRYPTO_ALIAS(OCSP_RESPID_it);
553 561
554 562
555OCSP_RESPID * 563OCSP_RESPID *
@@ -607,6 +615,7 @@ const ASN1_ITEM OCSP_REVOKEDINFO_it = {
607 .size = sizeof(OCSP_REVOKEDINFO), 615 .size = sizeof(OCSP_REVOKEDINFO),
608 .sname = "OCSP_REVOKEDINFO", 616 .sname = "OCSP_REVOKEDINFO",
609}; 617};
618LCRYPTO_ALIAS(OCSP_REVOKEDINFO_it);
610 619
611 620
612OCSP_REVOKEDINFO * 621OCSP_REVOKEDINFO *
@@ -671,6 +680,7 @@ const ASN1_ITEM OCSP_CERTSTATUS_it = {
671 .size = sizeof(OCSP_CERTSTATUS), 680 .size = sizeof(OCSP_CERTSTATUS),
672 .sname = "OCSP_CERTSTATUS", 681 .sname = "OCSP_CERTSTATUS",
673}; 682};
683LCRYPTO_ALIAS(OCSP_CERTSTATUS_it);
674 684
675 685
676OCSP_CERTSTATUS * 686OCSP_CERTSTATUS *
@@ -749,6 +759,7 @@ const ASN1_ITEM OCSP_SINGLERESP_it = {
749 .size = sizeof(OCSP_SINGLERESP), 759 .size = sizeof(OCSP_SINGLERESP),
750 .sname = "OCSP_SINGLERESP", 760 .sname = "OCSP_SINGLERESP",
751}; 761};
762LCRYPTO_ALIAS(OCSP_SINGLERESP_it);
752 763
753 764
754OCSP_SINGLERESP * 765OCSP_SINGLERESP *
@@ -827,6 +838,7 @@ const ASN1_ITEM OCSP_RESPDATA_it = {
827 .size = sizeof(OCSP_RESPDATA), 838 .size = sizeof(OCSP_RESPDATA),
828 .sname = "OCSP_RESPDATA", 839 .sname = "OCSP_RESPDATA",
829}; 840};
841LCRYPTO_ALIAS(OCSP_RESPDATA_it);
830 842
831 843
832OCSP_RESPDATA * 844OCSP_RESPDATA *
@@ -898,6 +910,7 @@ const ASN1_ITEM OCSP_BASICRESP_it = {
898 .size = sizeof(OCSP_BASICRESP), 910 .size = sizeof(OCSP_BASICRESP),
899 .sname = "OCSP_BASICRESP", 911 .sname = "OCSP_BASICRESP",
900}; 912};
913LCRYPTO_ALIAS(OCSP_BASICRESP_it);
901 914
902 915
903OCSP_BASICRESP * 916OCSP_BASICRESP *
@@ -962,6 +975,7 @@ const ASN1_ITEM OCSP_CRLID_it = {
962 .size = sizeof(OCSP_CRLID), 975 .size = sizeof(OCSP_CRLID),
963 .sname = "OCSP_CRLID", 976 .sname = "OCSP_CRLID",
964}; 977};
978LCRYPTO_ALIAS(OCSP_CRLID_it);
965 979
966 980
967OCSP_CRLID * 981OCSP_CRLID *
@@ -1019,6 +1033,7 @@ const ASN1_ITEM OCSP_SERVICELOC_it = {
1019 .size = sizeof(OCSP_SERVICELOC), 1033 .size = sizeof(OCSP_SERVICELOC),
1020 .sname = "OCSP_SERVICELOC", 1034 .sname = "OCSP_SERVICELOC",
1021}; 1035};
1036LCRYPTO_ALIAS(OCSP_SERVICELOC_it);
1022 1037
1023 1038
1024OCSP_SERVICELOC * 1039OCSP_SERVICELOC *