Home
last modified time | relevance | path

Searched refs:vpm (Results 1 – 18 of 18) sorted by relevance

/freebsd-12-stable/crypto/openssl/apps/
Dopt.c453 int opt_verify(int opt, X509_VERIFY_PARAM *vpm) in opt_verify() argument
461 assert(vpm != NULL); in opt_verify()
475 X509_VERIFY_PARAM_add0_policy(vpm, otmp); in opt_verify()
491 if (!X509_VERIFY_PARAM_set_purpose(vpm, i)) { in opt_verify()
505 X509_VERIFY_PARAM_set1(vpm, vtmp); in opt_verify()
510 X509_VERIFY_PARAM_set_depth(vpm, i); in opt_verify()
515 X509_VERIFY_PARAM_set_auth_level(vpm, i); in opt_verify()
525 X509_VERIFY_PARAM_set_time(vpm, (time_t)t); in opt_verify()
528 if (!X509_VERIFY_PARAM_set1_host(vpm, opt_arg(), 0)) in opt_verify()
532 if (!X509_VERIFY_PARAM_set1_email(vpm, opt_arg(), 0)) in opt_verify()
[all …]
Dts.c67 X509_VERIFY_PARAM *vpm);
72 X509_VERIFY_PARAM *vpm);
74 X509_VERIFY_PARAM *vpm);
165 X509_VERIFY_PARAM *vpm = NULL; in ts_main() local
171 if ((vpm = X509_VERIFY_PARAM_new()) == NULL) in ts_main()
267 if (!opt_verify(o, vpm)) in ts_main()
313 vpmtouched ? vpm : NULL); in ts_main()
319 X509_VERIFY_PARAM_free(vpm); in ts_main()
821 X509_VERIFY_PARAM *vpm) in verify_command() argument
841 vpm)) == NULL) in verify_command()
[all …]
Dverify.c69 X509_VERIFY_PARAM *vpm = NULL; in verify_main() local
75 if ((vpm = X509_VERIFY_PARAM_new()) == NULL) in verify_main()
106 if (!opt_verify(o, vpm)) in verify_main()
177 X509_STORE_set1_param(store, vpm); in verify_main()
196 X509_VERIFY_PARAM_free(vpm); in verify_main()
Dsmime.c121 X509_VERIFY_PARAM *vpm = NULL; in smime_main() local
137 if ((vpm = X509_VERIFY_PARAM_new()) == NULL) in smime_main()
315 if (!opt_verify(o, vpm)) in smime_main()
480 X509_STORE_set1_param(store, vpm); in smime_main()
599 X509_VERIFY_PARAM_free(vpm); in smime_main()
Dcms.c201 X509_VERIFY_PARAM *vpm = NULL; in cms_main() local
221 if ((vpm = X509_VERIFY_PARAM_new()) == NULL) in cms_main()
563 if (!opt_verify(o, vpm)) in cms_main()
804 X509_STORE_set1_param(store, vpm); in cms_main()
1084 X509_VERIFY_PARAM_free(vpm); in cms_main()
Docsp.c245 X509_VERIFY_PARAM *vpm = NULL; in ocsp_main() local
270 if ((vpm = X509_VERIFY_PARAM_new()) == NULL) in ocsp_main()
398 if (!opt_verify(o, vpm)) in ocsp_main()
760 X509_STORE_set1_param(store, vpm); in ocsp_main()
807 X509_VERIFY_PARAM_free(vpm); in ocsp_main()
Ds_server.c995 X509_VERIFY_PARAM *vpm = NULL; in s_server_main() local
1078 vpm = X509_VERIFY_PARAM_new(); in s_server_main()
1079 if (cctx == NULL || vpm == NULL) in s_server_main()
1292 if (!opt_verify(o, vpm)) in s_server_main()
1891 if (vpmtouched && !SSL_CTX_set1_param(ctx, vpm)) { in s_server_main()
1953 if (vpmtouched && !SSL_CTX_set1_param(ctx2, vpm)) { in s_server_main()
2185 X509_VERIFY_PARAM_free(vpm); in s_server_main()
Ds_client.c890 X509_VERIFY_PARAM *vpm = NULL; in s_client_main() local
1002 vpm = X509_VERIFY_PARAM_new(); in s_client_main()
1005 if (vpm == NULL || cctx == NULL) { in s_client_main()
1151 if (!opt_verify(o, vpm)) in s_client_main()
1764 if (vpmtouched && !SSL_CTX_set1_param(ctx, vpm)) { in s_client_main()
3169 X509_VERIFY_PARAM_free(vpm); in s_client_main()
Dapps.h410 int opt_verify(int i, X509_VERIFY_PARAM *vpm);
/freebsd-12-stable/crypto/openssl/doc/man3/
DSSL_CTX_get0_param.pod14 int SSL_CTX_set1_param(SSL_CTX *ctx, X509_VERIFY_PARAM *vpm)
15 int SSL_set1_param(SSL *ssl, X509_VERIFY_PARAM *vpm)
24 to B<vpm> for B<ctx> or B<ssl>.
44 X509_VERIFY_PARAM *vpm = SSL_get0_param(ssl);
45 X509_VERIFY_PARAM_set1_host(vpm, "www.foo.com", 0);
/freebsd-12-stable/crypto/openssl/crypto/x509/
Dx509_vpm.c36 static int int_x509_param_set_hosts(X509_VERIFY_PARAM *vpm, int mode, in int_x509_param_set_hosts() argument
53 sk_OPENSSL_STRING_pop_free(vpm->hosts, str_free); in int_x509_param_set_hosts()
54 vpm->hosts = NULL; in int_x509_param_set_hosts()
63 if (vpm->hosts == NULL && in int_x509_param_set_hosts()
64 (vpm->hosts = sk_OPENSSL_STRING_new_null()) == NULL) { in int_x509_param_set_hosts()
69 if (!sk_OPENSSL_STRING_push(vpm->hosts, copy)) { in int_x509_param_set_hosts()
71 if (sk_OPENSSL_STRING_num(vpm->hosts) == 0) { in int_x509_param_set_hosts()
72 sk_OPENSSL_STRING_free(vpm->hosts); in int_x509_param_set_hosts()
73 vpm->hosts = NULL; in int_x509_param_set_hosts()
Dx509_vfy.c740 static int check_hosts(X509 *x, X509_VERIFY_PARAM *vpm) in check_hosts() argument
743 int n = sk_OPENSSL_STRING_num(vpm->hosts); in check_hosts()
746 if (vpm->peername != NULL) { in check_hosts()
747 OPENSSL_free(vpm->peername); in check_hosts()
748 vpm->peername = NULL; in check_hosts()
751 name = sk_OPENSSL_STRING_value(vpm->hosts, i); in check_hosts()
752 if (X509_check_host(x, name, 0, vpm->hostflags, &vpm->peername) > 0) in check_hosts()
760 X509_VERIFY_PARAM *vpm = ctx->param; in check_id() local
762 if (vpm->hosts && check_hosts(x, vpm) <= 0) { in check_id()
766 if (vpm->email && X509_check_email(x, vpm->email, vpm->emaillen, 0) <= 0) { in check_id()
[all …]
/freebsd-12-stable/contrib/file/magic/Magdir/
Dmap46 # 1st fat name "DLLINFO TXT" only found for vpm
49 !:ext vpm
50 # Deutsch__Yannick_D4481-00_0210.vpm
149 # 314 zeros but not in vpm and also gmaptz.img
Daudio843 !:mime audio/x-vpm-wav-garmin
844 !:ext vpm
889 !:mime audio/x-vpm-garmin
890 !:ext vpm
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
DR600InstrFormats.td490 bits<1> vpm;
499 let Word1{20} = vpm;
DR600Instructions.td243 let vpm = 0;
/freebsd-12-stable/crypto/openssl/ssl/
Dssl_lib.c1121 int SSL_CTX_set1_param(SSL_CTX *ctx, X509_VERIFY_PARAM *vpm) in SSL_CTX_set1_param() argument
1123 return X509_VERIFY_PARAM_set1(ctx->param, vpm); in SSL_CTX_set1_param()
1126 int SSL_set1_param(SSL *ssl, X509_VERIFY_PARAM *vpm) in SSL_set1_param() argument
1128 return X509_VERIFY_PARAM_set1(ssl->param, vpm); in SSL_set1_param()
/freebsd-12-stable/crypto/openssl/include/openssl/
Dssl.h1772 __owur int SSL_CTX_set1_param(SSL_CTX *ctx, X509_VERIFY_PARAM *vpm);
1773 __owur int SSL_set1_param(SSL *ssl, X509_VERIFY_PARAM *vpm);