/openssl/demos/bio/ |
H A D | README.txt | 4 The client-conf, server-conf, client-arg and client-conf include examples
|
H A D | server-conf.c | 31 CONF *conf = NULL; in main() local 40 conf = NCONF_new(NULL); in main() 42 if (NCONF_load(conf, "accept.cnf", &errline) <= 0) { in main() 50 sect = NCONF_get_section(conf, "default"); in main()
|
/openssl/apps/ |
H A D | ca.c | 268 CONF *conf = NULL; in ca_main() local 524 p = app_conf_try_string(conf, NULL, "oid_file"); in ca_main() 535 if (!add_oid_section(conf)) in ca_main() 538 app_RAND_load_conf(conf, BASE_SECTION); in ca_main() 681 dbfile = lookup_conf(conf, section, ENV_DATABASE); in ca_main() 870 X509V3_set_nconf(&ctx, conf); in ca_main() 1132 X509V3_set_nconf(&ctx, conf); in ca_main() 1151 if (!app_conf_try_number(conf, section, in ca_main() 1154 if (!app_conf_try_number(conf, section, in ca_main() 1223 X509V3_set_nconf(&crlctx, conf); in ca_main() [all …]
|
H A D | srp.c | 114 static char *lookup_conf(const CONF *conf, const char *section, const char *tag) in lookup_conf() argument 116 char *entry = NCONF_get_string(conf, section, tag); in lookup_conf() 236 CONF *conf = NULL; in srp_main() local 347 conf = app_load_config_verbose(configfile, verbose); in srp_main() 348 if (conf == NULL) in srp_main() 350 if (configfile != default_config_file && !app_load_modules(conf)) in srp_main() 360 section = lookup_conf(conf, BASE_SECTION, ENV_DEFAULT_SRP); in srp_main() 365 app_RAND_load_conf(conf, BASE_SECTION); in srp_main() 372 srpvfile = lookup_conf(conf, section, ENV_DATABASE); in srp_main() 627 NCONF_free(conf); in srp_main()
|
H A D | spkac.c | 62 CONF *conf = NULL; in spkac_main() local 183 if ((conf = app_load_config(infile)) == NULL) in spkac_main() 186 spkstr = NCONF_get_string(conf, spksect, spkac); in spkac_main() 226 NCONF_free(conf); in spkac_main()
|
H A D | genpkey.c | 108 CONF *conf = NULL; in genpkey_main() local 184 conf = app_load_config_modules(opt_arg()); in genpkey_main() 185 if (conf == NULL) in genpkey_main() 307 NCONF_free(conf); in genpkey_main()
|
H A D | smime.c | 163 CONF *conf = NULL; in smime_main() local 293 conf = app_load_config_modules(opt_arg()); in smime_main() 294 if (conf == NULL) in smime_main() 709 NCONF_free(conf); in smime_main()
|
/openssl/test/ |
H A D | ssl_test_ctx_test.c | 26 static CONF *conf = NULL; variable 129 if (!TEST_ptr(ctx = SSL_TEST_CTX_create(conf, fixture->test_section, in execute_test() 231 if (!TEST_ptr_null(ctx = SSL_TEST_CTX_create(conf, in test_bad_configuration() 249 if (!TEST_ptr(conf = NCONF_new(NULL))) in setup_tests() 252 if (!TEST_int_gt(NCONF_load(conf, test_get_argument(0), NULL), 0)) in setup_tests() 263 NCONF_free(conf); in cleanup_tests()
|
H A D | v3ext.c | 380 CONF *conf; in test_ext_syntax() local 386 conf = NCONF_new_ex(NULL, NULL); in test_ext_syntax() 387 if (!TEST_ptr(conf)) { in test_ext_syntax() 391 if (!TEST_long_gt(NCONF_load_bio(conf, extbio, &eline), 0)) { in test_ext_syntax() 395 X509V3_set_nconf(&ctx, conf); in test_ext_syntax() 398 if (!TEST_true(X509V3_EXT_add_nconf(conf, &ctx, "default", in test_ext_syntax() 405 if (!TEST_false(X509V3_EXT_add_nconf(conf, &ctx, "default", in test_ext_syntax() 416 NCONF_free(conf); in test_ext_syntax()
|
H A D | ssl_test.c | 22 static CONF *conf = NULL; variable 405 test_ctx = SSL_TEST_CTX_create(conf, test_app, libctx); in test_handshake() 508 || !TEST_int_gt(CONF_modules_load(conf, test_app, 0), 0)) in test_handshake() 555 if (!TEST_ptr(conf = NCONF_new(NULL)) in OPT_TEST_DECLARE_USAGE() 557 || !TEST_int_gt(NCONF_load(conf, test_get_argument(0), NULL), 0) in OPT_TEST_DECLARE_USAGE() 558 || !TEST_int_ne(NCONF_get_number_e(conf, NULL, "num_tests", in OPT_TEST_DECLARE_USAGE() 573 NCONF_free(conf); in cleanup_tests()
|
/openssl/test/recipes/90-test_includes_data/ |
H A D | includes-prov-dir.cnf | 16 .include conf-includes 17 .include conf-includes-prov
|
H A D | includes-eq-ws.cnf | 5 .include = conf-includes
|
H A D | includes.cnf | 5 .include conf-includes
|
H A D | includes-eq.cnf | 5 .include=conf-includes
|
H A D | vms-includes.cnf | 5 .include [.conf-includes]
|
/openssl/fuzz/ |
H A D | build.info | 12 PROGRAMS{noinst}=asn1 asn1parse bignum bndiv client conf crl server smime 69 SOURCE[conf]=conf.c driver.c 70 INCLUDE[conf]=../include {- $ex_inc -} 71 DEPEND[conf]=../libcrypto {- $ex_lib -} 147 …PROGRAMS{noinst}=asn1-test asn1parse-test bignum-test bndiv-test client-test conf-test crl-test se… 206 SOURCE[conf-test]=conf.c test-corpus.c 207 INCLUDE[conf-test]=../include 208 DEPEND[conf-test]=../libcrypto
|
/openssl/test/certs/ |
H A D | mkcert.sh | 208 local conf=$1; shift 214 echo "$conf") 231 conf=$(echo "subjectAltName = @alts" 235 geneeconfig $key $cert $cakey $ca "$conf"
|
/openssl/crypto/conf/ |
H A D | conf_mod.c | 195 CONF *conf = NULL; in CONF_modules_load_file_ex() local 213 conf = NCONF_new_ex(libctx, NULL); in CONF_modules_load_file_ex() 214 if (conf == NULL) in CONF_modules_load_file_ex() 217 if (NCONF_load(conf, file, NULL) <= 0) { in CONF_modules_load_file_ex() 225 ret = CONF_modules_load(conf, appname, flags); in CONF_modules_load_file_ex() 232 NCONF_free(conf); in CONF_modules_load_file_ex()
|
/openssl/doc/man3/ |
H A D | X509_ACERT_add_attr_nconf.pod | 12 int X509_ACERT_add_attr_nconf(CONF *conf, const char *section, 19 from a I<section> of the I<conf> object.
|
/openssl/include/openssl/ |
H A D | x509v3.h.in | 27 # include <openssl/conf.h> 637 X509_EXTENSION *X509V3_EXT_nconf_nid(CONF *conf, X509V3_CTX *ctx, int ext_nid, 641 int X509V3_EXT_add_nconf_sk(CONF *conf, X509V3_CTX *ctx, const char *section, 643 int X509V3_EXT_add_nconf(CONF *conf, X509V3_CTX *ctx, const char *section, 645 int X509V3_EXT_REQ_add_nconf(CONF *conf, X509V3_CTX *ctx, const char *section, 650 X509_EXTENSION *X509V3_EXT_conf_nid(LHASH_OF(CONF_VALUE) *conf, 653 X509_EXTENSION *X509V3_EXT_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx, 655 int X509V3_EXT_add_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx, 657 int X509V3_EXT_REQ_add_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx, 659 int X509V3_EXT_CRL_add_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx, [all …]
|
/openssl/apps/lib/ |
H A D | apps.c | 372 CONF *conf; in app_load_config_bio() local 376 i = NCONF_load_bio(conf, in, &errorline); in app_load_config_bio() 378 return conf; in app_load_config_bio() 391 NCONF_free(conf); in app_load_config_bio() 409 CONF *conf; in app_load_config_internal() local 420 return conf; in app_load_config_internal() 442 int add_oid_section(CONF *conf) in add_oid_section() argument 468 CONF *conf = NULL; in app_load_config_modules() local 474 NCONF_free(conf); in app_load_config_modules() 475 conf = NULL; in app_load_config_modules() [all …]
|
/openssl/crypto/x509/ |
H A D | x509_acert.c | 264 int X509_ACERT_add_attr_nconf(CONF *conf, const char *section, in X509_ACERT_add_attr_nconf() argument 268 STACK_OF(CONF_VALUE) *attr_sk = NCONF_get_section(conf, section); in X509_ACERT_add_attr_nconf() 286 ASN1_TYPE *asn1 = ASN1_generate_nconf(value, conf); in X509_ACERT_add_attr_nconf()
|
/openssl/ |
H A D | .gitattributes | 8 Configurations/*.norelease.conf export-ignore
|
H A D | build.info | 28 include/openssl/conf.h \ 58 GENERATE[include/openssl/conf.h]=include/openssl/conf.h.in
|
/openssl/crypto/hashtable/ |
H A D | hashtable.c | 186 HT *ossl_ht_new(const HT_CONFIG *conf) in ossl_ht_new() argument 197 memcpy(&new->config, conf, sizeof(*conf)); in ossl_ht_new() 227 new->lock = ossl_rcu_lock_new(1, conf->ctx); in ossl_ht_new()
|