/external/openssl/apps/ |
H A D | verify.c | 84 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 D | crl.c | 90 " -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 D | s_time.c | 127 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 D | smime.c | 108 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 D | cms.c | 128 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 D | pkcs12.c | 126 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 D | ocsp.c | 149 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 D | x509.c | 159 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 D | s_client.c | 300 BIO_printf(bio_err," -CAfile arg - PEM format file of CA's\n"); 579 char *CApath=NULL,*CAfile=NULL,*cipher=NULL; local 860 else if (strcmp(*argv,"-CAfile") == 0) 863 CAfile= *(++argv); 1190 if ((!SSL_CTX_load_verify_locations(ctx,CAfile,CApath)) ||
|
H A D | s_server.c | 499 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));
|
H A D | apps.c | 1426 X509_STORE *setup_verify(BIO *bp, char *CAfile, char *CApath) argument 1433 if (CAfile) { 1434 if(!X509_LOOKUP_load_file(lookup,CAfile,X509_FILETYPE_PEM)) { 1435 BIO_printf(bp, "Error loading file %s\n", CAfile);
|
/external/openssl/crypto/threads/ |
H A D | mttest.c | 176 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/ssl/ |
H A D | ssltest.c | 355 fprintf(stderr," -CAfile arg - PEM format file of CA's\n"); 504 char *CApath=NULL,*CAfile=NULL; local 723 else if (strcmp(*argv,"-CAfile") == 0) 726 CAfile= *(++argv); 1003 if ( (!SSL_CTX_load_verify_locations(s_ctx,CAfile,CApath)) || 1005 (!SSL_CTX_load_verify_locations(c_ctx,CAfile,CApath)) ||
|
H A D | ssl_lib.c | 3017 int SSL_CTX_load_verify_locations(SSL_CTX *ctx, const char *CAfile, argument 3020 return(X509_STORE_load_locations(ctx->cert_store,CAfile,CApath));
|