summaryrefslogtreecommitdiffstats
path: root/apps/apps.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2001-03-16 02:04:17 +0000
committerDr. Stephen Henson <steve@openssl.org>2001-03-16 02:04:17 +0000
commit791bd0cd2b267d38fcbe7eb4dd3df2aa92877f11 (patch)
tree5fdf5eae1304f65185c74b4884bad7a33f8a2c32 /apps/apps.h
parente890dcdb196aa2b971f3c85ccc94389bb01edb91 (diff)
Add copy_extensions option to 'ca' utility.
Diffstat (limited to 'apps/apps.h')
-rw-r--r--apps/apps.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/apps.h b/apps/apps.h
index fb2e01b3a2..96dafd972d 100644
--- a/apps/apps.h
+++ b/apps/apps.h
@@ -153,6 +153,8 @@ void print_name(BIO *out, char *title, X509_NAME *nm, unsigned long lflags);
#endif
int set_cert_ex(unsigned long *flags, const char *arg);
int set_name_ex(unsigned long *flags, const char *arg);
+int set_ext_copy(int *copy_type, const char *arg);
+int copy_extensions(X509 *x, X509_REQ *req, int copy_type);
int app_passwd(BIO *err, char *arg1, char *arg2, char **pass1, char **pass2);
int add_oid_section(BIO *err, LHASH *conf);
X509 *load_cert(BIO *err, char *file, int format);
@@ -170,6 +172,10 @@ X509_STORE *setup_verify(BIO *bp, char *CAfile, char *CApath);
#define FORMAT_SMIME 6
#define FORMAT_ENGINE 7
+#define EXT_COPY_NONE 0
+#define EXT_COPY_ADD 1
+#define EXT_COPY_ALL 2
+
#define NETSCAPE_CERT_HDR "certificate"
#define APP_PASS_LEN 1024