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

/opensolaris-onvv-gate/usr/src/common/openssl/apps/
H A Dverify.c84 char *CApath=NULL,*CAfile=NULL; local
120 else if (strcmp(*argv,"-CAfile") == 0)
123 CAfile= *(++argv);
173 if (CAfile) {
174 i=X509_LOOKUP_load_file(lookup,CAfile,X509_FILETYPE_PEM);
176 BIO_printf(bio_err, "Error loading file %s\n", CAfile);
218 BIO_printf(bio_err,"usage: verify [-verbose] [-CApath path] [-CAfile file] [-purpose purpose] [-crl_check]");
H A Dx509.c152 static int x509_certify (X509_STORE *ctx,char *CAfile,const EVP_MD *digest,
175 char *infile=NULL,*outfile=NULL,*keyfile=NULL,*CAfile=NULL; local
308 CAfile= *(++argv);
489 { CAkeyfile=CAfile; }
637 xca=load_cert(bio_err,CAfile,CAformat,NULL,e,"CA Certificate");
949 if (!x509_certify(ctx,CAfile,digest,x,xca,
1080 static ASN1_INTEGER *x509_load_serial(char *CAfile, char *serialfile, int create) argument
1088 ?(strlen(CAfile)+strlen(POSTFIX)+1)
1094 BUF_strlcpy(buf,CAfile,len);
1120 static int x509_certify(X509_STORE *ctx, char *CAfile, cons argument
[all...]
H A Dcrl.c89 " -CAfile name - verify CRL using certificates in file \"name\"\n",
104 char *CAfile = NULL, *CApath = NULL; local
182 else if (strcmp(*argv,"-CAfile") == 0)
185 CAfile = *(++argv);
240 if (!X509_LOOKUP_load_file(lookup,CAfile,X509_FILETYPE_PEM))
H A Ds_time.c175 static char *CAfile=NULL; variable
198 CAfile=NULL;
229 -CAfile arg - PEM format file of CA's\n\
306 } else if( strcmp(*argv,"-CAfile") == 0) {
309 CAfile= *(++argv);
479 if ((!SSL_CTX_load_verify_locations(tm_ctx,CAfile,CApath)) ||
H A Dsmime.c104 char *CAfile = NULL, *CApath = NULL; local
298 else if (!strcmp (*args, "-CAfile"))
303 CAfile = *args;
449 BIO_printf (bio_err, "-CAfile file trusted certificates file\n");
621 if (!(store = setup_verify(bio_err, CAfile, CApath)))
H A Dapps.h273 X509_STORE *setup_verify(BIO *bp, char *CAfile, char *CApath);
H A Ds_server.c342 BIO_printf(bio_err," -CAfile arg - PEM format file of CA's\n");
536 char *CApath=NULL,*CAfile=NULL; local
709 else if (strcmp(*argv,"-CAfile") == 0)
712 CAfile= *(++argv);
960 if ((!SSL_CTX_load_verify_locations(ctx,CAfile,CApath)) ||
1084 if (CAfile != NULL)
1085 SSL_CTX_set_client_CA_list(ctx,SSL_load_client_CA_file(CAfile));
H A Docsp.c117 char *CAfile = NULL, *CApath = NULL; local
279 else if (!strcmp (*args, "-CAfile"))
284 CAfile = *args;
533 BIO_printf (bio_err, "-CAfile file trusted certificates file\n");
818 store = setup_verify(bio_err, CAfile, CApath);
H A Dpkcs12.c123 char *CApath = NULL, *CAfile = NULL; local
260 } else if (!strcmp(*args,"-CAfile")) {
263 CAfile = *args;
286 BIO_printf (bio_err, "-CAfile arg - PEM format file of CA's\n");
515 if (!X509_STORE_load_locations(store, CAfile, CApath))
H A Ds_client.c199 BIO_printf(bio_err," -CAfile arg - PEM format file of CA's\n");
257 char *CApath=NULL,*CAfile=NULL,*cipher=NULL; local
442 else if (strcmp(*argv,"-CAfile") == 0)
445 CAfile= *(++argv);
600 if ((!SSL_CTX_load_verify_locations(ctx,CAfile,CApath)) ||
H A Dapps.c1304 X509_STORE *setup_verify(BIO *bp, char *CAfile, char *CApath) argument
1311 if (CAfile) {
1312 if(!X509_LOOKUP_load_file(lookup,CAfile,X509_FILETYPE_PEM)) {
1313 BIO_printf(bp, "Error loading file %s\n", CAfile);
/opensolaris-onvv-gate/usr/src/common/openssl/ssl/
H A Dssl_task.c201 char *CApath=NULL,*CAfile=NULL; local
H A Dssltest.c260 fprintf(stderr," -CAfile arg - PEM format file of CA's\n");
389 char *CApath=NULL,*CAfile=NULL; local
560 else if (strcmp(*argv,"-CAfile") == 0)
563 CAfile= *(++argv);
805 if ( (!SSL_CTX_load_verify_locations(s_ctx,CAfile,CApath)) ||
807 (!SSL_CTX_load_verify_locations(c_ctx,CAfile,CApath)) ||
H A Dssl_lib.c2411 int SSL_CTX_load_verify_locations(SSL_CTX *ctx, const char *CAfile, argument
2414 return(X509_STORE_load_locations(ctx->cert_store,CAfile,CApath));
H A Dssl.h1440 int SSL_CTX_load_verify_locations(SSL_CTX *ctx, const char *CAfile,

Completed in 200 milliseconds