diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2001-07-12 20:41:51 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2001-07-12 20:41:51 +0000 |
commit | ee306a13321e11b3e4c40960ccacc3dbbe33b9c8 (patch) | |
tree | 654003899cf38b00258c5b668f34e1e73c2e69f5 /apps/apps.h | |
parent | 45442167b022f87e20a03ec328d291483ed1dca0 (diff) | |
download | openssl-ee306a13321e11b3e4c40960ccacc3dbbe33b9c8.tar.gz |
Initial OCSP server support, using index.txt format.
This can process internal requests or behave like a
mini responder.
Todo: documentation, update usage info.
Diffstat (limited to 'apps/apps.h')
-rw-r--r-- | apps/apps.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/apps.h b/apps/apps.h index ae2f7f0833..de136f453b 100644 --- a/apps/apps.h +++ b/apps/apps.h @@ -68,6 +68,7 @@ #include <openssl/lhash.h> #include <openssl/conf.h> #include <openssl/engine.h> +#include <openssl/txt_db.h> int app_RAND_load_file(const char *file, BIO *bio_e, int dont_warn); int app_RAND_write_file(const char *file, BIO *bio_e); @@ -187,6 +188,11 @@ STACK_OF(X509) *load_certs(BIO *err, const char *file, int format, X509_STORE *setup_verify(BIO *bp, char *CAfile, char *CApath); ENGINE *setup_engine(BIO *err, const char *engine, int debug); +/* Functions defined in ca.c and also used in ocsp.c */ +int unpack_revinfo(ASN1_TIME **prevtm, int *preason, ASN1_OBJECT **phold, + ASN1_GENERALIZEDTIME **pinvtm, char *str); +int make_serial_index(TXT_DB *db); + #define FORMAT_UNDEF 0 #define FORMAT_ASN1 1 #define FORMAT_TEXT 2 |