Searched refs:CAfile (Results 1 - 25 of 39) sorted by relevance

12

/external/chromium_org/third_party/openssl/openssl/apps/
H A Dverify.c84 char *CApath=NULL,*CAfile=NULL; local
121 else if (strcmp(*argv,"-CAfile") == 0)
124 CAfile= *(++argv);
179 if (CAfile) {
180 i=X509_LOOKUP_load_file(lookup,CAfile,X509_FILETYPE_PEM);
182 BIO_printf(bio_err, "Error loading file %s\n", CAfile);
240 BIO_printf(bio_err,"usage: verify [-verbose] [-CApath path] [-CAfile file] [-purpose purpose] [-crl_check]");
H A DCA.sh177 $VERIFY -CAfile $CATOP/$CACERT newcert.pem
182 $VERIFY -CAfile $CATOP/$CACERT $j
H A Dx509.c159 static int x509_certify (X509_STORE *ctx,char *CAfile,const EVP_MD *digest,
184 char *infile=NULL,*outfile=NULL,*keyfile=NULL,*CAfile=NULL; local
330 CAfile= *(++argv);
521 { CAkeyfile=CAfile; }
667 xca=load_cert(bio_err,CAfile,CAformat,NULL,e,"CA Certificate");
983 if (!x509_certify(ctx,CAfile,digest,x,xca,
1107 static ASN1_INTEGER *x509_load_serial(char *CAfile, char *serialfile, int create) argument
1115 ?(strlen(CAfile)+strlen(POSTFIX)+1)
1121 BUF_strlcpy(buf,CAfile,len);
1147 static int x509_certify(X509_STORE *ctx, char *CAfile, cons argument
[all...]
H A Dcrl.c90 " -CAfile name - verify CRL using certificates in file \"name\"\n",
105 char *CAfile = NULL, *CApath = NULL; local
183 else if (strcmp(*argv,"-CAfile") == 0)
186 CAfile = *(++argv);
243 if (!X509_LOOKUP_load_file(lookup,CAfile,X509_FILETYPE_PEM))
H A Ds_time.c127 static char *CAfile=NULL; variable
150 CAfile=NULL;
181 -CAfile arg - PEM format file of CA's\n\
258 } else if( strcmp(*argv,"-CAfile") == 0) {
261 CAfile= *(++argv);
376 if ((!SSL_CTX_load_verify_locations(tm_ctx,CAfile,CApath)) ||
H A Dsmime.c108 char *CAfile = NULL, *CApath = NULL; local
326 else if (!strcmp (*args, "-CAfile"))
330 CAfile = *++args;
481 BIO_printf (bio_err, "-CAfile file trusted certificates file\n");
672 if (!(store = setup_verify(bio_err, CAfile, CApath)))
H A Dapps.h256 X509_STORE *setup_verify(BIO *bp, char *CAfile, char *CApath);
H A Dcms.c128 char *CAfile = NULL, *CApath = NULL; local
475 else if (!strcmp (*args, "-CAfile"))
479 CAfile = *++args;
644 BIO_printf (bio_err, "-CAfile file trusted certificates file\n");
891 if (!(store = setup_verify(bio_err, CAfile, CApath)))
H A Docsp.c149 char *CAfile = NULL, *CApath = NULL; local
338 else if (!strcmp (*args, "-CAfile"))
343 CAfile = *args;
597 BIO_printf (bio_err, "-CAfile file trusted certificates file\n");
851 store = setup_verify(bio_err, CAfile, CApath);
H A Dpkcs12.c126 char *CApath = NULL, *CAfile = NULL; local
259 } else if (!strcmp(*args,"-CAfile")) {
262 CAfile = *args;
285 BIO_printf (bio_err, "-CAfile arg - PEM format file of CA's\n");
527 if (!X509_STORE_load_locations(store, CAfile, CApath))
H A Ds_server.c499 BIO_printf(bio_err," -CAfile arg - PEM format file of CA's\n");
937 char *CApath=NULL,*CAfile=NULL; local
1120 else if (strcmp(*argv,"-CAfile") == 0)
1123 CAfile= *(++argv);
1575 if ((!SSL_CTX_load_verify_locations(ctx,CAfile,CApath)) ||
1632 if ((!SSL_CTX_load_verify_locations(ctx2,CAfile,CApath)) ||
1872 if (CAfile != NULL)
1874 SSL_CTX_set_client_CA_list(ctx,SSL_load_client_CA_file(CAfile));
1877 SSL_CTX_set_client_CA_list(ctx2,SSL_load_client_CA_file(CAfile));
/external/openssl/apps/
H A Dverify.c84 char *CApath=NULL,*CAfile=NULL; local
121 else if (strcmp(*argv,"-CAfile") == 0)
124 CAfile= *(++argv);
179 if (CAfile) {
180 i=X509_LOOKUP_load_file(lookup,CAfile,X509_FILETYPE_PEM);
182 BIO_printf(bio_err, "Error loading file %s\n", CAfile);
240 BIO_printf(bio_err,"usage: verify [-verbose] [-CApath path] [-CAfile file] [-purpose purpose] [-crl_check]");
H A DCA.sh177 $VERIFY -CAfile $CATOP/$CACERT newcert.pem
182 $VERIFY -CAfile $CATOP/$CACERT $j
H A Dx509.c159 static int x509_certify (X509_STORE *ctx,char *CAfile,const EVP_MD *digest,
184 char *infile=NULL,*outfile=NULL,*keyfile=NULL,*CAfile=NULL; local
330 CAfile= *(++argv);
521 { CAkeyfile=CAfile; }
667 xca=load_cert(bio_err,CAfile,CAformat,NULL,e,"CA Certificate");
983 if (!x509_certify(ctx,CAfile,digest,x,xca,
1107 static ASN1_INTEGER *x509_load_serial(char *CAfile, char *serialfile, int create) argument
1115 ?(strlen(CAfile)+strlen(POSTFIX)+1)
1121 BUF_strlcpy(buf,CAfile,len);
1147 static int x509_certify(X509_STORE *ctx, char *CAfile, cons argument
[all...]
H A Dcrl.c90 " -CAfile name - verify CRL using certificates in file \"name\"\n",
105 char *CAfile = NULL, *CApath = NULL; local
183 else if (strcmp(*argv,"-CAfile") == 0)
186 CAfile = *(++argv);
243 if (!X509_LOOKUP_load_file(lookup,CAfile,X509_FILETYPE_PEM))
H A Ds_time.c127 static char *CAfile=NULL; variable
150 CAfile=NULL;
181 -CAfile arg - PEM format file of CA's\n\
258 } else if( strcmp(*argv,"-CAfile") == 0) {
261 CAfile= *(++argv);
376 if ((!SSL_CTX_load_verify_locations(tm_ctx,CAfile,CApath)) ||
H A Dsmime.c108 char *CAfile = NULL, *CApath = NULL; local
326 else if (!strcmp (*args, "-CAfile"))
330 CAfile = *++args;
481 BIO_printf (bio_err, "-CAfile file trusted certificates file\n");
672 if (!(store = setup_verify(bio_err, CAfile, CApath)))
H A Dapps.h256 X509_STORE *setup_verify(BIO *bp, char *CAfile, char *CApath);
H A Dcms.c128 char *CAfile = NULL, *CApath = NULL; local
475 else if (!strcmp (*args, "-CAfile"))
479 CAfile = *++args;
644 BIO_printf (bio_err, "-CAfile file trusted certificates file\n");
891 if (!(store = setup_verify(bio_err, CAfile, CApath)))
H A Docsp.c149 char *CAfile = NULL, *CApath = NULL; local
338 else if (!strcmp (*args, "-CAfile"))
343 CAfile = *args;
597 BIO_printf (bio_err, "-CAfile file trusted certificates file\n");
851 store = setup_verify(bio_err, CAfile, CApath);
H A Dpkcs12.c126 char *CApath = NULL, *CAfile = NULL; local
259 } else if (!strcmp(*args,"-CAfile")) {
262 CAfile = *args;
285 BIO_printf (bio_err, "-CAfile arg - PEM format file of CA's\n");
527 if (!X509_STORE_load_locations(store, CAfile, CApath))
/external/chromium_org/third_party/openssl/openssl/crypto/threads/
H A Dnetware.bat10 rem "mttest.nlm -thread 20 -loops 10 -CAfile \openssl\apps\server.pem >mttest.out 2>mttest.err"
H A Dmttest.c176 fprintf(stderr," -CAfile arg - PEM format file of CA's\n");
188 char *CApath=NULL,*CAfile=NULL; local
227 else if (strcmp(*argv,"-CAfile") == 0)
230 CAfile= *(++argv);
309 if ( (!SSL_CTX_load_verify_locations(s_ctx,CAfile,CApath)) ||
311 (!SSL_CTX_load_verify_locations(c_ctx,CAfile,CApath)) ||
/external/openssl/crypto/threads/
H A Dnetware.bat10 rem "mttest.nlm -thread 20 -loops 10 -CAfile \openssl\apps\server.pem >mttest.out 2>mttest.err"
H A Dmttest.c176 fprintf(stderr," -CAfile arg - PEM format file of CA's\n");
188 char *CApath=NULL,*CAfile=NULL; local
227 else if (strcmp(*argv,"-CAfile") == 0)
230 CAfile= *(++argv);
309 if ( (!SSL_CTX_load_verify_locations(s_ctx,CAfile,CApath)) ||
311 (!SSL_CTX_load_verify_locations(c_ctx,CAfile,CApath)) ||

Completed in 1178 milliseconds

12