diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/ts/ts.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/libcrypto/ts/ts.h b/src/lib/libcrypto/ts/ts.h index 6d4b2dd3a6..bfcf9dfe8f 100644 --- a/src/lib/libcrypto/ts/ts.h +++ b/src/lib/libcrypto/ts/ts.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ts.h,v 1.13 2022/07/16 18:36:36 kn Exp $ */ | 1 | /* $OpenBSD: ts.h,v 1.14 2022/07/23 07:13:03 tb Exp $ */ |
| 2 | /* Written by Zoltan Glozik (zglozik@opentsa.org) for the OpenSSL | 2 | /* Written by Zoltan Glozik (zglozik@opentsa.org) for the OpenSSL |
| 3 | * project 2002, 2003, 2004. | 3 | * project 2002, 2003, 2004. |
| 4 | */ | 4 | */ |
| @@ -184,7 +184,7 @@ PKIFreeText ::= SEQUENCE SIZE (1..MAX) OF UTF8String | |||
| 184 | -- of the contained text) | 184 | -- of the contained text) |
| 185 | */ | 185 | */ |
| 186 | 186 | ||
| 187 | /* Possible values for status. See ts_resp_print.c && ts_resp_verify.c. */ | 187 | /* Possible values for status. See ts_rsp_print.c && ts_rsp_verify.c. */ |
| 188 | 188 | ||
| 189 | #define TS_STATUS_GRANTED 0 | 189 | #define TS_STATUS_GRANTED 0 |
| 190 | #define TS_STATUS_GRANTED_WITH_MODS 1 | 190 | #define TS_STATUS_GRANTED_WITH_MODS 1 |
| @@ -193,7 +193,7 @@ PKIFreeText ::= SEQUENCE SIZE (1..MAX) OF UTF8String | |||
| 193 | #define TS_STATUS_REVOCATION_WARNING 4 | 193 | #define TS_STATUS_REVOCATION_WARNING 4 |
| 194 | #define TS_STATUS_REVOCATION_NOTIFICATION 5 | 194 | #define TS_STATUS_REVOCATION_NOTIFICATION 5 |
| 195 | 195 | ||
| 196 | /* Possible values for failure_info. See ts_resp_print.c && ts_resp_verify.c */ | 196 | /* Possible values for failure_info. See ts_rsp_print.c && ts_rsp_verify.c */ |
| 197 | 197 | ||
| 198 | #define TS_INFO_BAD_ALG 0 | 198 | #define TS_INFO_BAD_ALG 0 |
| 199 | #define TS_INFO_BAD_REQUEST 2 | 199 | #define TS_INFO_BAD_REQUEST 2 |
| @@ -432,7 +432,7 @@ void *TS_REQ_get_ext_d2i(TS_REQ *a, int nid, int *crit, int *idx); | |||
| 432 | 432 | ||
| 433 | int TS_REQ_print_bio(BIO *bio, TS_REQ *a); | 433 | int TS_REQ_print_bio(BIO *bio, TS_REQ *a); |
| 434 | 434 | ||
| 435 | /* Function declarations for TS_RESP defined in ts/ts_resp_utils.c */ | 435 | /* Function declarations for TS_RESP defined in ts/ts_rsp_utils.c */ |
| 436 | 436 | ||
| 437 | int TS_RESP_set_status_info(TS_RESP *a, TS_STATUS_INFO *info); | 437 | int TS_RESP_set_status_info(TS_RESP *a, TS_STATUS_INFO *info); |
| 438 | TS_STATUS_INFO *TS_RESP_get_status_info(TS_RESP *a); | 438 | TS_STATUS_INFO *TS_RESP_get_status_info(TS_RESP *a); |
| @@ -490,7 +490,7 @@ X509_EXTENSION *TS_TST_INFO_delete_ext(TS_TST_INFO *a, int loc); | |||
| 490 | int TS_TST_INFO_add_ext(TS_TST_INFO *a, X509_EXTENSION *ex, int loc); | 490 | int TS_TST_INFO_add_ext(TS_TST_INFO *a, X509_EXTENSION *ex, int loc); |
| 491 | void *TS_TST_INFO_get_ext_d2i(TS_TST_INFO *a, int nid, int *crit, int *idx); | 491 | void *TS_TST_INFO_get_ext_d2i(TS_TST_INFO *a, int nid, int *crit, int *idx); |
| 492 | 492 | ||
| 493 | /* Declarations related to response generation, defined in ts/ts_resp_sign.c. */ | 493 | /* Declarations related to response generation, defined in ts/ts_rsp_sign.c. */ |
| 494 | 494 | ||
| 495 | /* Optional flags for response generation. */ | 495 | /* Optional flags for response generation. */ |
| 496 | 496 | ||
| @@ -628,7 +628,7 @@ TS_RESP *TS_RESP_create_response(TS_RESP_CTX *ctx, BIO *req_bio); | |||
| 628 | 628 | ||
| 629 | /* | 629 | /* |
| 630 | * Declarations related to response verification, | 630 | * Declarations related to response verification, |
| 631 | * they are defined in ts/ts_resp_verify.c. | 631 | * they are defined in ts/ts_rsp_verify.c. |
| 632 | */ | 632 | */ |
| 633 | 633 | ||
| 634 | int TS_RESP_verify_signature(PKCS7 *token, STACK_OF(X509) *certs, | 634 | int TS_RESP_verify_signature(PKCS7 *token, STACK_OF(X509) *certs, |
| @@ -731,7 +731,7 @@ void TS_VERIFY_CTX_cleanup(TS_VERIFY_CTX *ctx); | |||
| 731 | */ | 731 | */ |
| 732 | TS_VERIFY_CTX *TS_REQ_to_TS_VERIFY_CTX(TS_REQ *req, TS_VERIFY_CTX *ctx); | 732 | TS_VERIFY_CTX *TS_REQ_to_TS_VERIFY_CTX(TS_REQ *req, TS_VERIFY_CTX *ctx); |
| 733 | 733 | ||
| 734 | /* Function declarations for TS_RESP defined in ts/ts_resp_print.c */ | 734 | /* Function declarations for TS_RESP defined in ts/ts_rsp_print.c */ |
| 735 | 735 | ||
| 736 | int TS_RESP_print_bio(BIO *bio, TS_RESP *a); | 736 | int TS_RESP_print_bio(BIO *bio, TS_RESP *a); |
| 737 | int TS_STATUS_INFO_print_bio(BIO *bio, TS_STATUS_INFO *a); | 737 | int TS_STATUS_INFO_print_bio(BIO *bio, TS_STATUS_INFO *a); |
