diff options
author | tedu <> | 2014-04-18 04:33:09 +0000 |
---|---|---|
committer | tedu <> | 2014-04-18 04:33:09 +0000 |
commit | f737947057a1a777dafba073b92264e698047b6c (patch) | |
tree | b116b5a9fe5105a43b60f787f3d75d412fa91292 | |
parent | 39ceb1bcb05b364b18f6eec9cdd262ed98e553e6 (diff) | |
download | openbsd-f737947057a1a777dafba073b92264e698047b6c.tar.gz openbsd-f737947057a1a777dafba073b92264e698047b6c.tar.bz2 openbsd-f737947057a1a777dafba073b92264e698047b6c.zip |
whitespace normalization
-rw-r--r-- | src/lib/libssl/src/apps/cms.c | 13 | ||||
-rw-r--r-- | src/lib/libssl/src/apps/ocsp.c | 25 | ||||
-rw-r--r-- | src/lib/libssl/src/apps/pkcs12.c | 28 | ||||
-rw-r--r-- | src/lib/libssl/src/apps/pkeyutl.c | 9 | ||||
-rw-r--r-- | src/lib/libssl/src/apps/req.c | 46 | ||||
-rw-r--r-- | src/lib/libssl/src/apps/ts.c | 24 | ||||
-rw-r--r-- | src/lib/libssl/src/apps/verify.c | 10 | ||||
-rw-r--r-- | src/lib/libssl/src/apps/x509.c | 17 |
8 files changed, 81 insertions, 91 deletions
diff --git a/src/lib/libssl/src/apps/cms.c b/src/lib/libssl/src/apps/cms.c index b1ed9c392e..d25b678297 100644 --- a/src/lib/libssl/src/apps/cms.c +++ b/src/lib/libssl/src/apps/cms.c | |||
@@ -70,7 +70,7 @@ static int save_certs(char *signerfile, STACK_OF(X509) * signers); | |||
70 | static int cms_cb(int ok, X509_STORE_CTX * ctx); | 70 | static int cms_cb(int ok, X509_STORE_CTX * ctx); |
71 | static void receipt_request_print(BIO * out, CMS_ContentInfo * cms); | 71 | static void receipt_request_print(BIO * out, CMS_ContentInfo * cms); |
72 | static CMS_ReceiptRequest * | 72 | static CMS_ReceiptRequest * |
73 | make_receipt_request(STACK_OF(OPENSSL_STRING) * rr_to, | 73 | make_receipt_request(STACK_OF(OPENSSL_STRING) * rr_to, |
74 | int rr_allorfirst, | 74 | int rr_allorfirst, |
75 | STACK_OF(OPENSSL_STRING) * rr_from); | 75 | STACK_OF(OPENSSL_STRING) * rr_from); |
76 | 76 | ||
@@ -94,12 +94,12 @@ make_receipt_request(STACK_OF(OPENSSL_STRING) * rr_to, | |||
94 | #define SMIME_SIGN_RECEIPT (15 | SMIME_IP | SMIME_OP) | 94 | #define SMIME_SIGN_RECEIPT (15 | SMIME_IP | SMIME_OP) |
95 | #define SMIME_VERIFY_RECEIPT (16 | SMIME_IP) | 95 | #define SMIME_VERIFY_RECEIPT (16 | SMIME_IP) |
96 | 96 | ||
97 | int verify_err = 0; | 97 | int verify_err = 0; |
98 | 98 | ||
99 | int cms_main(int, char **); | 99 | int cms_main(int, char **); |
100 | 100 | ||
101 | int | 101 | int |
102 | cms_main(int argc, char **argv) | 102 | cms_main(int argc, char **argv) |
103 | { | 103 | { |
104 | ENGINE *e = NULL; | 104 | ENGINE *e = NULL; |
105 | int operation = 0; | 105 | int operation = 0; |
@@ -1122,7 +1122,8 @@ receipt_request_print(BIO * out, CMS_ContentInfo * cms) | |||
1122 | } | 1122 | } |
1123 | 1123 | ||
1124 | static | 1124 | static |
1125 | STACK_OF(GENERAL_NAMES) * make_names_stack(STACK_OF(OPENSSL_STRING) * ns) | 1125 | STACK_OF(GENERAL_NAMES) * |
1126 | make_names_stack(STACK_OF(OPENSSL_STRING) * ns) | ||
1126 | { | 1127 | { |
1127 | int i; | 1128 | int i; |
1128 | STACK_OF(GENERAL_NAMES) * ret; | 1129 | STACK_OF(GENERAL_NAMES) * ret; |
diff --git a/src/lib/libssl/src/apps/ocsp.c b/src/lib/libssl/src/apps/ocsp.c index a16237c1f8..91e5b8cbd2 100644 --- a/src/lib/libssl/src/apps/ocsp.c +++ b/src/lib/libssl/src/apps/ocsp.c | |||
@@ -77,30 +77,31 @@ | |||
77 | static int | 77 | static int |
78 | add_ocsp_cert(OCSP_REQUEST ** req, X509 * cert, const EVP_MD * cert_id_md, X509 * issuer, | 78 | add_ocsp_cert(OCSP_REQUEST ** req, X509 * cert, const EVP_MD * cert_id_md, X509 * issuer, |
79 | STACK_OF(OCSP_CERTID) * ids); | 79 | STACK_OF(OCSP_CERTID) * ids); |
80 | static int add_ocsp_serial(OCSP_REQUEST ** req, char *serial, const EVP_MD * cert_id_md, X509 * issuer, | 80 | static int add_ocsp_serial(OCSP_REQUEST ** req, char *serial, const EVP_MD * cert_id_md, X509 * issuer, |
81 | STACK_OF(OCSP_CERTID) * ids); | 81 | STACK_OF(OCSP_CERTID) * ids); |
82 | static int print_ocsp_summary(BIO * out, OCSP_BASICRESP * bs, OCSP_REQUEST * req, | 82 | static int print_ocsp_summary(BIO * out, OCSP_BASICRESP * bs, OCSP_REQUEST * req, |
83 | STACK_OF(OPENSSL_STRING) * names, | 83 | STACK_OF(OPENSSL_STRING) * names, |
84 | STACK_OF(OCSP_CERTID) * ids, long nsec, | 84 | STACK_OF(OCSP_CERTID) * ids, long nsec, |
85 | long maxage); | 85 | long maxage); |
86 | 86 | ||
87 | static int make_ocsp_response(OCSP_RESPONSE ** resp, OCSP_REQUEST * req, CA_DB * db, | 87 | static int make_ocsp_response(OCSP_RESPONSE ** resp, OCSP_REQUEST * req, CA_DB * db, |
88 | X509 * ca, X509 * rcert, EVP_PKEY * rkey, | 88 | X509 * ca, X509 * rcert, EVP_PKEY * rkey, |
89 | STACK_OF(X509) * rother, unsigned long flags, | 89 | STACK_OF(X509) * rother, unsigned long flags, |
90 | int nmin, int ndays); | 90 | int nmin, int ndays); |
91 | 91 | ||
92 | static char **lookup_serial(CA_DB * db, ASN1_INTEGER * ser); | 92 | static char **lookup_serial(CA_DB * db, ASN1_INTEGER * ser); |
93 | static BIO *init_responder(char *port); | 93 | static BIO *init_responder(char *port); |
94 | static int do_responder(OCSP_REQUEST ** preq, BIO ** pcbio, BIO * acbio, char *port); | 94 | static int do_responder(OCSP_REQUEST ** preq, BIO ** pcbio, BIO * acbio, char *port); |
95 | static int send_ocsp_response(BIO * cbio, OCSP_RESPONSE * resp); | 95 | static int send_ocsp_response(BIO * cbio, OCSP_RESPONSE * resp); |
96 | static OCSP_RESPONSE *query_responder(BIO * err, BIO * cbio, char *path, | 96 | static OCSP_RESPONSE *query_responder(BIO * err, BIO * cbio, char *path, |
97 | STACK_OF(CONF_VALUE) * headers, | 97 | STACK_OF(CONF_VALUE) * headers, |
98 | OCSP_REQUEST * req, int req_timeout); | 98 | OCSP_REQUEST * req, int req_timeout); |
99 | 99 | ||
100 | 100 | ||
101 | int ocsp_main(int, char **); | 101 | int ocsp_main(int, char **); |
102 | 102 | ||
103 | int ocsp_main(int argc, char **argv) | 103 | int |
104 | ocsp_main(int argc, char **argv) | ||
104 | { | 105 | { |
105 | ENGINE *e = NULL; | 106 | ENGINE *e = NULL; |
106 | char **args; | 107 | char **args; |
diff --git a/src/lib/libssl/src/apps/pkcs12.c b/src/lib/libssl/src/apps/pkcs12.c index 58a7224c65..d08f92eae3 100644 --- a/src/lib/libssl/src/apps/pkcs12.c +++ b/src/lib/libssl/src/apps/pkcs12.c | |||
@@ -79,20 +79,22 @@ const EVP_CIPHER *enc; | |||
79 | #define CACERTS 0x10 | 79 | #define CACERTS 0x10 |
80 | 80 | ||
81 | int get_cert_chain(X509 * cert, X509_STORE * store, STACK_OF(X509) ** chain); | 81 | int get_cert_chain(X509 * cert, X509_STORE * store, STACK_OF(X509) ** chain); |
82 | int dump_certs_keys_p12(BIO * out, PKCS12 * p12, char *pass, int passlen, int options, char *pempass); | 82 | int dump_certs_keys_p12(BIO * out, PKCS12 * p12, char *pass, int passlen, |
83 | int | 83 | int options, char *pempass); |
84 | dump_certs_pkeys_bags(BIO * out, STACK_OF(PKCS12_SAFEBAG) * bags, char *pass, | 84 | int dump_certs_pkeys_bags(BIO * out, STACK_OF(PKCS12_SAFEBAG) * bags, char *pass, |
85 | int passlen, int options, char *pempass); | 85 | int passlen, int options, char *pempass); |
86 | int dump_certs_pkeys_bag(BIO * out, PKCS12_SAFEBAG * bags, char *pass, int passlen, int options, char *pempass); | 86 | int dump_certs_pkeys_bag(BIO * out, PKCS12_SAFEBAG * bags, char *pass, int passlen, |
87 | int print_attribs(BIO * out, STACK_OF(X509_ATTRIBUTE) * attrlst, const char *name); | 87 | int options, char *pempass); |
88 | void hex_prin(BIO * out, unsigned char *buf, int len); | 88 | int print_attribs(BIO * out, STACK_OF(X509_ATTRIBUTE) * attrlst, const char *name); |
89 | int alg_print(BIO * x, X509_ALGOR * alg); | 89 | void hex_prin(BIO * out, unsigned char *buf, int len); |
90 | int cert_load(BIO * in, STACK_OF(X509) * sk); | 90 | int alg_print(BIO * x, X509_ALGOR * alg); |
91 | static int set_pbe(BIO * err, int *ppbe, const char *str); | 91 | int cert_load(BIO * in, STACK_OF(X509) * sk); |
92 | 92 | static int set_pbe(BIO * err, int *ppbe, const char *str); | |
93 | int pkcs12_main(int, char **); | 93 | |
94 | 94 | int pkcs12_main(int, char **); | |
95 | int pkcs12_main(int argc, char **argv) | 95 | |
96 | int | ||
97 | pkcs12_main(int argc, char **argv) | ||
96 | { | 98 | { |
97 | ENGINE *e = NULL; | 99 | ENGINE *e = NULL; |
98 | char *infile = NULL, *outfile = NULL, *keyname = NULL; | 100 | char *infile = NULL, *outfile = NULL, *keyname = NULL; |
diff --git a/src/lib/libssl/src/apps/pkeyutl.c b/src/lib/libssl/src/apps/pkeyutl.c index 7bac41c3a8..622034292a 100644 --- a/src/lib/libssl/src/apps/pkeyutl.c +++ b/src/lib/libssl/src/apps/pkeyutl.c | |||
@@ -70,17 +70,14 @@ static void usage(void); | |||
70 | 70 | ||
71 | 71 | ||
72 | 72 | ||
73 | static EVP_PKEY_CTX * | 73 | static EVP_PKEY_CTX *init_ctx(int *pkeysize, |
74 | init_ctx(int *pkeysize, | ||
75 | char *keyfile, int keyform, int key_type, | 74 | char *keyfile, int keyform, int key_type, |
76 | char *passargin, int pkey_op, ENGINE * e); | 75 | char *passargin, int pkey_op, ENGINE * e); |
77 | 76 | ||
78 | static int | 77 | static int setup_peer(BIO * err, EVP_PKEY_CTX * ctx, int peerform, |
79 | setup_peer(BIO * err, EVP_PKEY_CTX * ctx, int peerform, | ||
80 | const char *file); | 78 | const char *file); |
81 | 79 | ||
82 | static int | 80 | static int do_keyop(EVP_PKEY_CTX * ctx, int pkey_op, |
83 | do_keyop(EVP_PKEY_CTX * ctx, int pkey_op, | ||
84 | unsigned char *out, size_t * poutlen, | 81 | unsigned char *out, size_t * poutlen, |
85 | unsigned char *in, size_t inlen); | 82 | unsigned char *in, size_t inlen); |
86 | 83 | ||
diff --git a/src/lib/libssl/src/apps/req.c b/src/lib/libssl/src/apps/req.c index fc4dc79090..11ee3d2fea 100644 --- a/src/lib/libssl/src/apps/req.c +++ b/src/lib/libssl/src/apps/req.c | |||
@@ -123,37 +123,35 @@ | |||
123 | * require. This format is wrong | 123 | * require. This format is wrong |
124 | */ | 124 | */ |
125 | 125 | ||
126 | static int | 126 | static int make_REQ(X509_REQ * req, EVP_PKEY * pkey, char *dn, int mutlirdn, |
127 | make_REQ(X509_REQ * req, EVP_PKEY * pkey, char *dn, int mutlirdn, | ||
128 | int attribs, unsigned long chtype); | 127 | int attribs, unsigned long chtype); |
129 | static int | 128 | static int build_subject(X509_REQ * req, char *subj, unsigned long chtype, |
130 | build_subject(X509_REQ * req, char *subj, unsigned long chtype, | ||
131 | int multirdn); | 129 | int multirdn); |
132 | static int | 130 | static int prompt_info(X509_REQ * req, |
133 | prompt_info(X509_REQ * req, | ||
134 | STACK_OF(CONF_VALUE) * dn_sk, char *dn_sect, | 131 | STACK_OF(CONF_VALUE) * dn_sk, char *dn_sect, |
135 | STACK_OF(CONF_VALUE) * attr_sk, char *attr_sect, int attribs, | 132 | STACK_OF(CONF_VALUE) * attr_sk, char *attr_sect, int attribs, |
136 | unsigned long chtype); | 133 | unsigned long chtype); |
137 | static int auto_info(X509_REQ * req, STACK_OF(CONF_VALUE) * sk, | 134 | static int auto_info(X509_REQ * req, STACK_OF(CONF_VALUE) * sk, |
138 | STACK_OF(CONF_VALUE) * attr, int attribs, | 135 | STACK_OF(CONF_VALUE) * attr, int attribs, |
139 | unsigned long chtype); | 136 | unsigned long chtype); |
140 | static int add_attribute_object(X509_REQ * req, char *text, const char *def, | 137 | static int add_attribute_object(X509_REQ * req, char *text, const char *def, |
141 | char *value, int nid, int n_min, | 138 | char *value, int nid, int n_min, |
142 | int n_max, unsigned long chtype); | 139 | int n_max, unsigned long chtype); |
143 | static int add_DN_object(X509_NAME * n, char *text, const char *def, char *value, | 140 | static int add_DN_object(X509_NAME * n, char *text, const char *def, char *value, |
144 | int nid, int n_min, int n_max, unsigned long chtype, int mval); | 141 | int nid, int n_min, int n_max, unsigned long chtype, int mval); |
145 | static int genpkey_cb(EVP_PKEY_CTX * ctx); | 142 | static int genpkey_cb(EVP_PKEY_CTX * ctx); |
146 | static int req_check_len(int len, int n_min, int n_max); | 143 | static int req_check_len(int len, int n_min, int n_max); |
147 | static int check_end(const char *str, const char *end); | 144 | static int check_end(const char *str, const char *end); |
148 | static EVP_PKEY_CTX *set_keygen_ctx(BIO * err, const char *gstr, int *pkey_type, | 145 | static EVP_PKEY_CTX *set_keygen_ctx(BIO * err, const char *gstr, int *pkey_type, |
149 | long *pkeylen, char **palgnam, | 146 | long *pkeylen, char **palgnam, |
150 | ENGINE * keygen_engine); | 147 | ENGINE * keygen_engine); |
151 | static CONF *req_conf = NULL; | 148 | static CONF *req_conf = NULL; |
152 | static int batch = 0; | 149 | static int batch = 0; |
153 | 150 | ||
154 | int req_main(int, char **); | 151 | int req_main(int, char **); |
155 | 152 | ||
156 | int req_main(int argc, char **argv) | 153 | int |
154 | req_main(int argc, char **argv) | ||
157 | { | 155 | { |
158 | ENGINE *e = NULL, *gen_eng = NULL; | 156 | ENGINE *e = NULL, *gen_eng = NULL; |
159 | unsigned long nmflag = 0, reqflag = 0; | 157 | unsigned long nmflag = 0, reqflag = 0; |
diff --git a/src/lib/libssl/src/apps/ts.c b/src/lib/libssl/src/apps/ts.c index bac4b048f8..9d116ffac2 100644 --- a/src/lib/libssl/src/apps/ts.c +++ b/src/lib/libssl/src/apps/ts.c | |||
@@ -80,31 +80,25 @@ static ASN1_OBJECT *txt2obj(const char *oid); | |||
80 | static CONF *load_config_file(const char *configfile); | 80 | static CONF *load_config_file(const char *configfile); |
81 | 81 | ||
82 | /* Query related functions. */ | 82 | /* Query related functions. */ |
83 | static int | 83 | static int query_command(const char *data, char *digest, |
84 | query_command(const char *data, char *digest, | ||
85 | const EVP_MD * md, const char *policy, int no_nonce, | 84 | const EVP_MD * md, const char *policy, int no_nonce, |
86 | int cert, const char *in, const char *out, int text); | 85 | int cert, const char *in, const char *out, int text); |
87 | static BIO * | 86 | static BIO *BIO_open_with_default(const char *file, const char *mode, |
88 | BIO_open_with_default(const char *file, const char *mode, | ||
89 | FILE * default_fp); | 87 | FILE * default_fp); |
90 | static TS_REQ * | 88 | static TS_REQ *create_query(BIO * data_bio, char *digest, const EVP_MD * md, |
91 | create_query(BIO * data_bio, char *digest, const EVP_MD * md, | ||
92 | const char *policy, int no_nonce, int cert); | 89 | const char *policy, int no_nonce, int cert); |
93 | static int | 90 | static int create_digest(BIO * input, char *digest, |
94 | create_digest(BIO * input, char *digest, | ||
95 | const EVP_MD * md, unsigned char **md_value); | 91 | const EVP_MD * md, unsigned char **md_value); |
96 | static ASN1_INTEGER *create_nonce(int bits); | 92 | static ASN1_INTEGER *create_nonce(int bits); |
97 | 93 | ||
98 | /* Reply related functions. */ | 94 | /* Reply related functions. */ |
99 | static int | 95 | static int reply_command(CONF * conf, char *section, char *engine, |
100 | reply_command(CONF * conf, char *section, char *engine, | ||
101 | char *queryfile, char *passin, char *inkey, | 96 | char *queryfile, char *passin, char *inkey, |
102 | char *signer, char *chain, const char *policy, | 97 | char *signer, char *chain, const char *policy, |
103 | char *in, int token_in, char *out, int token_out, | 98 | char *in, int token_in, char *out, int token_out, |
104 | int text); | 99 | int text); |
105 | static TS_RESP *read_PKCS7(BIO * in_bio); | 100 | static TS_RESP *read_PKCS7(BIO * in_bio); |
106 | static TS_RESP * | 101 | static TS_RESP *create_response(CONF * conf, const char *section, char *engine, |
107 | create_response(CONF * conf, const char *section, char *engine, | ||
108 | char *queryfile, char *passin, char *inkey, | 102 | char *queryfile, char *passin, char *inkey, |
109 | char *signer, char *chain, const char *policy); | 103 | char *signer, char *chain, const char *policy); |
110 | static ASN1_INTEGER *serial_cb(TS_RESP_CTX * ctx, void *data); | 104 | static ASN1_INTEGER *serial_cb(TS_RESP_CTX * ctx, void *data); |
@@ -112,12 +106,10 @@ static ASN1_INTEGER *next_serial(const char *serialfile); | |||
112 | static int save_ts_serial(const char *serialfile, ASN1_INTEGER * serial); | 106 | static int save_ts_serial(const char *serialfile, ASN1_INTEGER * serial); |
113 | 107 | ||
114 | /* Verify related functions. */ | 108 | /* Verify related functions. */ |
115 | static int | 109 | static int verify_command(char *data, char *digest, char *queryfile, |
116 | verify_command(char *data, char *digest, char *queryfile, | ||
117 | char *in, int token_in, | 110 | char *in, int token_in, |
118 | char *ca_path, char *ca_file, char *untrusted); | 111 | char *ca_path, char *ca_file, char *untrusted); |
119 | static TS_VERIFY_CTX * | 112 | static TS_VERIFY_CTX *create_verify_ctx(char *data, char *digest, |
120 | create_verify_ctx(char *data, char *digest, | ||
121 | char *queryfile, | 113 | char *queryfile, |
122 | char *ca_path, char *ca_file, | 114 | char *ca_path, char *ca_file, |
123 | char *untrusted); | 115 | char *untrusted); |
diff --git a/src/lib/libssl/src/apps/verify.c b/src/lib/libssl/src/apps/verify.c index 0bfc0f4038..79feec9a4b 100644 --- a/src/lib/libssl/src/apps/verify.c +++ b/src/lib/libssl/src/apps/verify.c | |||
@@ -68,15 +68,15 @@ | |||
68 | 68 | ||
69 | 69 | ||
70 | static int cb(int ok, X509_STORE_CTX * ctx); | 70 | static int cb(int ok, X509_STORE_CTX * ctx); |
71 | static int | 71 | static int check(X509_STORE * ctx, char *file, |
72 | check(X509_STORE * ctx, char *file, | ||
73 | STACK_OF(X509) * uchain, STACK_OF(X509) * tchain, | 72 | STACK_OF(X509) * uchain, STACK_OF(X509) * tchain, |
74 | STACK_OF(X509_CRL) * crls, ENGINE * e); | 73 | STACK_OF(X509_CRL) * crls, ENGINE * e); |
75 | static int v_verbose = 0, vflags = 0; | 74 | static int v_verbose = 0, vflags = 0; |
76 | 75 | ||
77 | int verify_main(int, char **); | 76 | int verify_main(int, char **); |
78 | 77 | ||
79 | int verify_main(int argc, char **argv) | 78 | int |
79 | verify_main(int argc, char **argv) | ||
80 | { | 80 | { |
81 | ENGINE *e = NULL; | 81 | ENGINE *e = NULL; |
82 | int i, ret = 1, badarg = 0; | 82 | int i, ret = 1, badarg = 0; |
diff --git a/src/lib/libssl/src/apps/x509.c b/src/lib/libssl/src/apps/x509.c index b9585da4e6..84ca493a89 100644 --- a/src/lib/libssl/src/apps/x509.c +++ b/src/lib/libssl/src/apps/x509.c | |||
@@ -152,21 +152,20 @@ static const char *x509_usage[] = { | |||
152 | }; | 152 | }; |
153 | 153 | ||
154 | static int callb(int ok, X509_STORE_CTX * ctx); | 154 | static int callb(int ok, X509_STORE_CTX * ctx); |
155 | static int | 155 | static int sign(X509 * x, EVP_PKEY * pkey, int days, int clrext, |
156 | sign(X509 * x, EVP_PKEY * pkey, int days, int clrext, const EVP_MD * digest, | 156 | const EVP_MD * digest, CONF * conf, char *section); |
157 | CONF * conf, char *section); | 157 | static int x509_certify(X509_STORE * ctx, char *CAfile, const EVP_MD * digest, |
158 | static int | ||
159 | x509_certify(X509_STORE * ctx, char *CAfile, const EVP_MD * digest, | ||
160 | X509 * x, X509 * xca, EVP_PKEY * pkey, | 158 | X509 * x, X509 * xca, EVP_PKEY * pkey, |
161 | STACK_OF(OPENSSL_STRING) * sigopts, | 159 | STACK_OF(OPENSSL_STRING) * sigopts, |
162 | char *serial, int create, int days, int clrext, | 160 | char *serial, int create, int days, int clrext, |
163 | CONF * conf, char *section, ASN1_INTEGER * sno); | 161 | CONF * conf, char *section, ASN1_INTEGER * sno); |
164 | static int purpose_print(BIO * bio, X509 * cert, X509_PURPOSE * pt); | 162 | static int purpose_print(BIO * bio, X509 * cert, X509_PURPOSE * pt); |
165 | static int reqfile = 0; | 163 | static int reqfile = 0; |
166 | 164 | ||
167 | int x509_main(int, char **); | 165 | int x509_main(int, char **); |
168 | 166 | ||
169 | int x509_main(int argc, char **argv) | 167 | int |
168 | x509_main(int argc, char **argv) | ||
170 | { | 169 | { |
171 | ENGINE *e = NULL; | 170 | ENGINE *e = NULL; |
172 | int ret = 1; | 171 | int ret = 1; |