| /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/crypto/external/apache2/openssl/dist/test/ |
| 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...] |
| 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);
|
| /src/crypto/external/bsd/openssl/dist/test/ |
| 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...] |
| 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);
|
| /src/crypto/external/bsd/openssl.old/dist/apps/ |
| 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)) {
|
| 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)
|
| 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/crypto/x509/ |
| by_file.c | 134 if (!X509_STORE_add_cert(ctx->store_ctx, x)) { 156 count = X509_STORE_add_cert(ctx->store_ctx, x); 207 if (!X509_STORE_add_crl(ctx->store_ctx, x)) { 221 count = X509_STORE_add_crl(ctx->store_ctx, x); 260 if (!X509_STORE_add_cert(ctx->store_ctx, itmp->x509)) { 267 if (!X509_STORE_add_crl(ctx->store_ctx, itmp->crl)) {
|
| by_dir.c | 352 if (!X509_STORE_lock(xl->store_ctx)) 354 j = sk_X509_OBJECT_find(xl->store_ctx->objs, &stmp); 355 tmp = sk_X509_OBJECT_value(xl->store_ctx->objs, j); 356 X509_STORE_unlock(xl->store_ctx); 423 if (X509_STORE_lock(xl->store_ctx)) { 424 if (!sk_X509_OBJECT_is_sorted(xl->store_ctx->objs)) { 425 sk_X509_OBJECT_sort(xl->store_ctx->objs); 427 X509_STORE_unlock(xl->store_ctx);
|
| x509_local.h | 106 X509_STORE *store_ctx; /* who owns us */ member in struct:x509_lookup_st
|
| /src/crypto/external/bsd/openssl/dist/crypto/x509/ |
| by_file.c | 128 i = X509_STORE_add_cert(ctx->store_ctx, x); 141 i = X509_STORE_add_cert(ctx->store_ctx, x); 186 i = X509_STORE_add_crl(ctx->store_ctx, x); 200 i = X509_STORE_add_crl(ctx->store_ctx, x); 240 if (!X509_STORE_add_cert(ctx->store_ctx, itmp->x509)) 245 if (!X509_STORE_add_crl(ctx->store_ctx, itmp->crl))
|
| by_dir.c | 351 if (!X509_STORE_lock(xl->store_ctx)) 353 j = sk_X509_OBJECT_find(xl->store_ctx->objs, &stmp); 354 tmp = sk_X509_OBJECT_value(xl->store_ctx->objs, j); 355 X509_STORE_unlock(xl->store_ctx);
|
| 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/ |
| by_file.c | 101 i = X509_STORE_add_cert(ctx->store_ctx, x); 115 i = X509_STORE_add_cert(ctx->store_ctx, x); 158 i = X509_STORE_add_crl(ctx->store_ctx, x); 172 i = X509_STORE_add_crl(ctx->store_ctx, x); 211 if (!X509_STORE_add_cert(ctx->store_ctx, itmp->x509)) 216 if (!X509_STORE_add_crl(ctx->store_ctx, itmp->crl))
|
| by_dir.c | 330 X509_STORE_lock(xl->store_ctx); 331 j = sk_X509_OBJECT_find(xl->store_ctx->objs, &stmp); 332 tmp = sk_X509_OBJECT_value(xl->store_ctx->objs, j); 333 X509_STORE_unlock(xl->store_ctx);
|
| x509_local.h | 97 X509_STORE *store_ctx; /* who owns us */ member in struct:x509_lookup_st
|
| /src/crypto/external/apache2/openssl/dist/apps/ |
| 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...] |
| 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)
|
| 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/apache2/openssl/dist/crypto/cmp/ |
| cmp_genm.c | 180 static int selfsigned_verify_cb(int ok, X509_STORE_CTX *store_ctx) 183 && X509_STORE_CTX_get_error_depth(store_ctx) == 0 184 && X509_STORE_CTX_get_error(store_ctx) 189 STACK_OF(X509) *chain = X509_STORE_CTX_get0_chain(store_ctx); 190 STACK_OF(X509) *untrusted = X509_STORE_CTX_get0_untrusted(store_ctx); 191 X509_STORE_CTX_check_issued_fn check_issued = X509_STORE_CTX_get_check_issued(store_ctx); 201 trust = X509_STORE_get1_all_certs(X509_STORE_CTX_get0_store(store_ctx)); 204 if ((*check_issued)(store_ctx, cert, issuer)) { 213 X509_STORE *ts = X509_STORE_CTX_get0_store(store_ctx); 218 return (*verify_cb)(ok, store_ctx); [all...] |
| /src/crypto/external/bsd/openssl/dist/apps/ |
| 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...] |
| 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)
|
| 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/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...] |