HomeSort by: relevance | last modified time | path
    Searched defs:store_ctx (Results 1 - 19 of 19) sorted by relevancy

  /src/crypto/external/bsd/openssl/dist/test/
ossl_store_test.c 159 OSSL_STORE_CTX *store_ctx = NULL; local
169 && TEST_ptr(store_ctx = OSSL_STORE_attach(bio, "file", libctx, NULL,
176 OSSL_STORE_close(store_ctx);
danetest.c 57 X509_STORE_CTX *store_ctx = NULL; local
63 if (!TEST_ptr(store_ctx = X509_STORE_CTX_new())
66 || !TEST_true(X509_STORE_CTX_init(store_ctx, store, NULL, chain))
67 || !TEST_true(X509_STORE_CTX_set_ex_data(store_ctx, store_ctx_idx,
71 X509_STORE_CTX_set_default(store_ctx, SSL_is_server(ssl)
73 X509_VERIFY_PARAM_set1(X509_STORE_CTX_get0_param(store_ctx),
75 store_ctx_dane_init(store_ctx, ssl);
78 X509_STORE_CTX_set_verify_cb(store_ctx, SSL_get_verify_callback(ssl));
81 if (!TEST_int_ge(ret = X509_STORE_CTX_verify(store_ctx), 0))
84 SSL_set_verify_result(ssl, X509_STORE_CTX_get_error(store_ctx));
    [all...]
  /src/crypto/external/apache2/openssl/dist/apps/
engine.c 459 struct util_store_cap_data store_ctx; local
461 store_ctx.engine = e;
462 store_ctx.cap_buf = &cap_buf;
463 store_ctx.cap_size = &cap_size;
464 store_ctx.ok = 1;
466 OSSL_STORE_do_all_loaders(util_store_cap, &store_ctx);
467 if (!store_ctx.ok)
storeutl.c 367 OSSL_STORE_CTX *store_ctx = NULL; local
370 if ((store_ctx = OSSL_STORE_open_ex(uri, libctx, app_get0_propq(), uimeth, uidata,
379 if (!OSSL_STORE_expect(store_ctx, expected)) {
386 if (!OSSL_STORE_supports_search(store_ctx, criterion)) {
393 if (!OSSL_STORE_find(store_ctx, search)) {
403 OSSL_STORE_INFO *info = OSSL_STORE_load(store_ctx);
408 if (OSSL_STORE_error(store_ctx)) {
413 if (OSSL_STORE_eof(store_ctx))
419 if (OSSL_STORE_eof(store_ctx))
510 if (!OSSL_STORE_close(store_ctx)) {
    [all...]
pkcs12.c 1153 X509_STORE_CTX *store_ctx = NULL; local
1157 store_ctx = X509_STORE_CTX_new_ex(app_get0_libctx(), app_get0_propq());
1158 if (store_ctx == NULL) {
1162 if (!X509_STORE_CTX_init(store_ctx, store, cert, untrusted_certs)) {
1167 if (X509_verify_cert(store_ctx) > 0)
1168 chn = X509_STORE_CTX_get1_chain(store_ctx);
1169 else if ((i = X509_STORE_CTX_get_error(store_ctx)) == 0)
1173 X509_STORE_CTX_free(store_ctx);
  /src/crypto/external/bsd/openssl/dist/apps/
engine.c 447 struct util_store_cap_data store_ctx; local
449 store_ctx.engine = e;
450 store_ctx.cap_buf = &cap_buf;
451 store_ctx.cap_size = &cap_size;
452 store_ctx.ok = 1;
454 OSSL_STORE_do_all_loaders(util_store_cap, &store_ctx);
455 if (!store_ctx.ok)
storeutl.c 355 OSSL_STORE_CTX *store_ctx = NULL; local
358 if ((store_ctx = OSSL_STORE_open_ex(uri, libctx, app_get0_propq(), uimeth, uidata,
367 if (!OSSL_STORE_expect(store_ctx, expected)) {
374 if (!OSSL_STORE_supports_search(store_ctx, criterion)) {
381 if (!OSSL_STORE_find(store_ctx, search)) {
391 OSSL_STORE_INFO *info = OSSL_STORE_load(store_ctx);
397 if (OSSL_STORE_error(store_ctx)) {
402 if (OSSL_STORE_eof(store_ctx))
408 if (OSSL_STORE_eof(store_ctx))
492 if (!OSSL_STORE_close(store_ctx)) {
    [all...]
pkcs12.c 1007 X509_STORE_CTX *store_ctx = NULL; local
1011 store_ctx = X509_STORE_CTX_new_ex(app_get0_libctx(), app_get0_propq());
1012 if (store_ctx == NULL) {
1016 if (!X509_STORE_CTX_init(store_ctx, store, cert, untrusted_certs)) {
1022 if (X509_verify_cert(store_ctx) > 0)
1023 chn = X509_STORE_CTX_get1_chain(store_ctx);
1024 else if ((i = X509_STORE_CTX_get_error(store_ctx)) == 0)
1028 X509_STORE_CTX_free(store_ctx);
  /src/crypto/external/bsd/openssl.old/dist/apps/
engine.c 436 struct util_store_cap_data store_ctx; local
438 store_ctx.engine = e;
439 store_ctx.cap_buf = &cap_buf;
440 store_ctx.cap_size = &cap_size;
441 store_ctx.ok = 1;
443 OSSL_STORE_do_all_loaders(util_store_cap, &store_ctx);
444 if (!store_ctx.ok)
storeutl.c 341 OSSL_STORE_CTX *store_ctx = NULL; local
344 if ((store_ctx = OSSL_STORE_open(uri, uimeth, uidata, NULL, NULL))
352 if (!OSSL_STORE_expect(store_ctx, expected)) {
359 if (!OSSL_STORE_supports_search(store_ctx, criterion)) {
366 if (!OSSL_STORE_find(store_ctx, search)) {
376 OSSL_STORE_INFO *info = OSSL_STORE_load(store_ctx);
382 if (OSSL_STORE_eof(store_ctx))
385 if (OSSL_STORE_error(store_ctx)) {
467 if (!OSSL_STORE_close(store_ctx)) {
pkcs12.c 749 X509_STORE_CTX *store_ctx = NULL; local
753 store_ctx = X509_STORE_CTX_new();
754 if (store_ctx == NULL) {
758 if (!X509_STORE_CTX_init(store_ctx, store, cert, NULL)) {
764 if (X509_verify_cert(store_ctx) > 0)
765 chn = X509_STORE_CTX_get1_chain(store_ctx);
766 else if ((i = X509_STORE_CTX_get_error(store_ctx)) == 0)
770 X509_STORE_CTX_free(store_ctx);
  /src/crypto/external/apache2/openssl/dist/test/
ossl_store_test.c 228 OSSL_STORE_CTX *store_ctx = NULL; local
238 && TEST_ptr(store_ctx = OSSL_STORE_attach(bio, "file", libctx, NULL,
245 OSSL_STORE_close(store_ctx);
danetest.c 57 X509_STORE_CTX *store_ctx = NULL; local
63 if (!TEST_ptr(store_ctx = X509_STORE_CTX_new())
66 || !TEST_true(X509_STORE_CTX_init(store_ctx, store, NULL, chain))
67 || !TEST_true(X509_STORE_CTX_set_ex_data(store_ctx, store_ctx_idx,
71 X509_STORE_CTX_set_default(store_ctx, SSL_is_server(ssl) ? "ssl_client" : "ssl_server");
72 X509_VERIFY_PARAM_set1(X509_STORE_CTX_get0_param(store_ctx),
74 store_ctx_dane_init(store_ctx, ssl);
77 X509_STORE_CTX_set_verify_cb(store_ctx, SSL_get_verify_callback(ssl));
80 if (!TEST_int_ge(ret = X509_STORE_CTX_verify(store_ctx), 0))
83 SSL_set_verify_result(ssl, X509_STORE_CTX_get_error(store_ctx));
    [all...]
  /src/crypto/external/apache2/openssl/dist/crypto/x509/
x509_local.h 106 X509_STORE *store_ctx; /* who owns us */ member in struct:x509_lookup_st
  /src/crypto/external/bsd/heimdal/dist/lib/hx509/
ks_file.c 543 struct store_ctx { struct
551 struct store_ctx *sc = ctx;
589 struct store_ctx sc;
  /src/crypto/external/bsd/openssl/dist/crypto/x509/
x509_local.h 106 X509_STORE *store_ctx; /* who owns us */ member in struct:x509_lookup_st
  /src/crypto/external/bsd/openssl.old/dist/crypto/x509/
x509_local.h 97 X509_STORE *store_ctx; /* who owns us */ member in struct:x509_lookup_st
  /src/crypto/external/bsd/openssl.old/dist/test/
danetest.c 57 X509_STORE_CTX *store_ctx = NULL; local
64 if (!TEST_ptr(store_ctx = X509_STORE_CTX_new())
68 || !TEST_true(X509_STORE_CTX_init(store_ctx, store, cert, chain))
69 || !TEST_true(X509_STORE_CTX_set_ex_data(store_ctx, store_ctx_idx,
73 X509_STORE_CTX_set_default(store_ctx,
75 X509_VERIFY_PARAM_set1(X509_STORE_CTX_get0_param(store_ctx),
77 store_ctx_dane_init(store_ctx, ssl);
80 X509_STORE_CTX_set_verify_cb(store_ctx, SSL_get_verify_callback(ssl));
83 if (!TEST_int_ge(ret = X509_verify_cert(store_ctx), 0))
86 SSL_set_verify_result(ssl, X509_STORE_CTX_get_error(store_ctx));
    [all...]
  /src/external/ibm-public/postfix/dist/src/tls/
tls_dane.c 1062 X509_STORE_CTX *store_ctx; local
1068 if ((store_ctx = X509_STORE_CTX_new()) == NULL) {
1072 if (!X509_STORE_CTX_init(store_ctx, store, cert, chain)) {
1073 X509_STORE_CTX_free(store_ctx);
1076 X509_STORE_CTX_set_ex_data(store_ctx, store_ctx_idx, ssl);
1079 X509_STORE_CTX_set_default(store_ctx, "ssl_server");
1080 X509_VERIFY_PARAM_set1(X509_STORE_CTX_get0_param(store_ctx),
1082 X509_STORE_CTX_set0_dane(store_ctx, SSL_get0_dane(ssl));
1084 ret = X509_verify_cert(store_ctx);
1086 SSL_set_verify_result(ssl, X509_STORE_CTX_get_error(store_ctx));
    [all...]

Completed in 41 milliseconds