Home
last modified time | relevance | path

Searched refs:path (Results 1 – 25 of 158) sorted by relevance

1234567

/openssl/fuzz/
H A Dhelper.py21 THIS_DIR = os.path.abspath(os.path.dirname(__file__))
22 CORPORA_DIR = os.path.abspath(os.path.join(THIS_DIR, "corpora"))
24 FUZZER_DIR = os.path.abspath(os.path.join(CORPORA_DIR, FUZZER))
25 if not os.path.isdir(FUZZER_DIR):
31 dd = os.path.abspath(os.path.join(CORPORA_DIR, d))
32 if not os.path.isdir(dd):
37 dd = os.path.abspath(os.path.join(CORPORA_DIR, d))
38 if os.path.isdir(dd):
46 cmd = ([os.path.abspath(os.path.join(THIS_DIR, FUZZER))] + sys.argv[2:]
/openssl/util/perl/OpenSSL/
H A Dfallback.pm70 my $path = $_;
72 if ($path eq '') {
77 print STDERR "DEBUG: $path\n" if DEBUG;
79 unless (-e $path
80 && ($path =~ m/(?:^|\/)MODULES.txt/ || -d $path)) {
86 if (-f $path) { # It's a MODULES.txt file
87 (my $dir = $path) =~ s|/[^/]*$||; # quick dirname
88 open my $fh, $path or die "Could not open $path: $!\n";
107 croak "All lines in $path must be a directory, not a file: $l"
112 push @INC, $path;
/openssl/test/recipes/
H A D15-test_out_option.t33 my $path = File::Spec->canonpath('./');
34 ok(!run(app([ 'openssl', 'rand', '-out', $path, '1'])),
35 "invalid output path: $path");
40 my $path = File::Spec->canonpath('randomname.bin');
41 ok(run(app([ 'openssl', 'rand', '-out', $path, '1'])),
42 "valid output path: $path");
55 my $path = File::Spec->canonpath($rand_path);
56 ok(!run(app([ 'openssl', 'rand', '-out', $path, '1'])),
57 "invalid output path: $path");
66 ok(run(app([ 'openssl', 'rand', '-out', $path, '1'])),
[all …]
H A D80-test_pkcs12.t79 my @path = qw(test certs);
90 "-CAfile", srctop_file(@path, "sroot-cert.pem"),
91 "-untrusted", srctop_file(@path, "ca-cert.pem"),
92 "-in", srctop_file(@path, "ee-cert.pem"),
101 "-in", srctop_file(@path, "ee-cert.pem"),
114 "-in", srctop_file(@path, "v3-certs-RC2.p12"),
125 "-inkey", srctop_file(@path, "cert-key-cert.pem"),
126 "-in", srctop_file(@path, "cert-key-cert.pem"),
164 "-inkey", srctop_file(@path, "cert-key-cert.pem"),
165 "-in", srctop_file(@path, "cert-key-cert.pem"),
[all …]
H A D80-test_x509aux.t17 my @path = qw(test certs);
25 srctop_file(@path, "roots.pem"),
26 srctop_file(@path, "root+anyEKU.pem"),
27 srctop_file(@path, "root-anyEKU.pem"),
28 srctop_file(@path, "root-cert.pem"),
29 srctop_file(@path, "invalid-cert.pem"),
H A D60-test_x509_store.t31 my @path = qw(test certs);
34 for (@$untrusted) { push(@args, "-untrusted", srctop_file(@path, "$_.pem")) }
35 push(@args, srctop_file(@path, "$cert.pem"));
/openssl/include/internal/
H A Dcommon.h189 if (*path != '\0') in ossl_ends_with_dirsep()
190 path += strlen(path) - 1; in ossl_ends_with_dirsep()
192 if (*path == ']' || *path == '>' || *path == ':') in ossl_ends_with_dirsep()
195 if (*path == '\\') in ossl_ends_with_dirsep()
198 return *path == '/'; in ossl_ends_with_dirsep()
219 || ((path[0] == '[' || path[0] == '<') in ossl_is_absolute_path()
220 && path[1] != '.' && path[1] != '-' in ossl_is_absolute_path()
221 && path[1] != ']' && path[1] != '>')) in ossl_is_absolute_path()
224 if (path[0] == '\\' in ossl_is_absolute_path()
225 || (path[0] != '\0' && path[1] == ':')) in ossl_is_absolute_path()
[all …]
/openssl/
H A D.gitmodules2 path = pyca-cryptography
6 path = krb5
10 path = gost-engine
14 path = wycheproof
17 path = tlsfuzzer
20 path = python-ecdsa
23 path = tlslite-ng
26 path = oqs-provider
29 path = cloudflare-quiche
32 path = fuzz/corpora
[all …]
H A DNOTES-UNIX.md26 a bit of help from a defined runtime shared library search path.
29 scripts do NOT generally set the runtime shared library search path for
40 Possible options to set the runtime shared library search path include
43 -Wl,-rpath,/whatever/path # Linux, *BSD, etc.
44 -R /whatever/path # Solaris
45 -Wl,-R,/whatever/path # AIX (-bsvr4 is passed internally)
46 -Wl,+b,/whatever/path # HP-UX
47 -rpath /whatever/path # Tru64, IRIX
58 used with the runtime shared library search path options, as shown in
83 How to choose which runtime search path tag is to be set depends on
[all …]
/openssl/test/recipes/80-test_cmp_http_data/
H A Dtest_connection.csv1 expected,description, -section,val, -server,val, -proxy,val, -no_proxy,val, -tls_used,noarg, -path,…
26 1,path explicit, -section,, -server,_SERVER_HOST:_SERVER_PORT,,,,,BLANK,, -path,_SERVER_PATH,BLANK,…
27 1,path overrides -server path, -section,, -server,_SERVER_HOST:_SERVER_PORT/ignored,,,,,BLANK,, -pa…
28 1,path default -server path, -section,, -server,_SERVER_HOST:_SERVER_PORT/_SERVER_PATH,,,,,BLANK,, …
29 0,path missing argument, -section,,,,,,,,BLANK,, -path,,BLANK,,BLANK,,BLANK,
30 0,path wrong, -section,,,,,,,,BLANK,, -path,/publicweb/cmp/example,BLANK,,BLANK,,BLANK,
31 1,path with additional '/'s fine according to RFC 3986, -section,,,,,,,,BLANK,, -path,/_SERVER_PATH…
32 0,path mixed case, -section,,,,,,,,BLANK,, -path,pKiX/,BLANK,,BLANK,,BLANK,
33 0,path upper case, -section,,,,,,,,BLANK,, -path,PKIX/,BLANK,,BLANK,,BLANK,
/openssl/crypto/rand/
H A Drand_egd.c21 int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes) in RAND_query_egd_bytes() argument
26 int RAND_egd(const char *path) in RAND_egd() argument
31 int RAND_egd_bytes(const char *path, int bytes) in RAND_egd_bytes() argument
109 int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes) in RAND_query_egd_bytes() argument
122 if (strlen(path) >= sizeof(addr.sun_path)) in RAND_query_egd_bytes()
124 strcpy(addr.sun_path, path); in RAND_query_egd_bytes()
125 i = offsetof(struct sockaddr_un, sun_path) + strlen(path); in RAND_query_egd_bytes()
204 int RAND_egd_bytes(const char *path, int bytes) in RAND_egd_bytes() argument
208 num = RAND_query_egd_bytes(path, NULL, bytes); in RAND_egd_bytes()
216 int RAND_egd(const char *path) in RAND_egd() argument
[all …]
/openssl/crypto/x509/
H A Dx509_d2.c69 int X509_STORE_load_path(X509_STORE *ctx, const char *path) in X509_STORE_load_path() argument
73 if (path == NULL in X509_STORE_load_path()
75 || X509_LOOKUP_add_dir(lookup, path, X509_FILETYPE_PEM) <= 0) in X509_STORE_load_path()
100 const char *path, OSSL_LIB_CTX *libctx, in X509_STORE_load_locations_ex() argument
103 if (file == NULL && path == NULL) in X509_STORE_load_locations_ex()
107 if (path != NULL && !X509_STORE_load_path(ctx, path)) in X509_STORE_load_locations_ex()
113 const char *path) in X509_STORE_load_locations() argument
115 return X509_STORE_load_locations_ex(ctx, file, path, NULL, NULL); in X509_STORE_load_locations()
/openssl/test/
H A Dprovider_default_search_path_test.c17 char *path = "./some/path"; in test_default_libctx() local
21 ok = TEST_true(OSSL_PROVIDER_set_default_search_path(ctx, path)) in test_default_libctx()
23 && TEST_str_eq(path, retrieved_path); in test_default_libctx()
32 char *path = "./another/location"; in test_explicit_libctx() local
42 && TEST_true(OSSL_PROVIDER_set_default_search_path(ctx, path)) in test_explicit_libctx()
46 && TEST_str_eq(path, retrieved_path) in test_explicit_libctx()
H A Dhttp_test.c41 const char *req, *path; in mock_http_server() local
52 path = hdr; in mock_http_server()
69 if (!HAS_PREFIX(path, RPATH)) { in mock_http_server()
266 && TEST_str_eq(path, exp_path) in test_http_url_ok()
277 OPENSSL_free(path); in test_http_url_ok()
285 char *host, *path; in test_http_url_path_query_ok() local
291 && TEST_str_eq(path, exp_path_qu); in test_http_url_path_query_ok()
293 OPENSSL_free(path); in test_http_url_path_query_ok()
326 char *host = "1", *port = "1", *path = "1"; in test_http_url_invalid() local
334 && TEST_ptr_null(path); in test_http_url_invalid()
[all …]
/openssl/doc/internal/man3/
H A Dossl_ends_with_dirsep.pod12 int ossl_ends_with_dirsep(const char *path);
14 int ossl_is_absolute_path(const char *path);
18 ossl_ends_with_dirsep() detects whether the I<path> ends with a directory
21 ossl_is_absolute_path() detects whether the I<path> is absolute path in
26 ossl_ends_with_dirsep() returns 1 if the I<path> ends with a directory
29 ossl_is_absolute_path() returns 1 if the I<path> is absolute, 0 otherwise.
/openssl/crypto/http/
H A Dhttp_lib.c63 const char *path, *path_end; in OSSL_parse_url() local
138 path = p; in OSSL_parse_url()
139 if (*path != '\0' && *path != '/' && *path != '?' && *path != '#') { in OSSL_parse_url()
143 path_end = query = query_end = frag = frag_end = path + strlen(path); in OSSL_parse_url()
173 if (*path == '/') { in OSSL_parse_url()
174 if (!copy_substring(ppath, path, path_end)) in OSSL_parse_url()
177 size_t buflen = 1 + path_end - path + 1; in OSSL_parse_url()
181 BIO_snprintf(*ppath, buflen, "/%s", path); in OSSL_parse_url()
/openssl/apps/lib/
H A Dapp_provider.c61 static int opt_provider_path(const char *path) in opt_provider_path() argument
63 if (path != NULL && *path == '\0') in opt_provider_path()
64 path = NULL; in opt_provider_path()
65 return OSSL_PROVIDER_set_default_search_path(app_get0_libctx(), path); in opt_provider_path()
/openssl/providers/implementations/storemgmt/
H A Dfile_store.c199 const char *path; in file_open() member
203 const char *path, *p = uri, *q; in file_open() local
212 path_data[path_data_n++].path = uri; in file_open()
247 path_data[path_data_n++].path = p; in file_open()
251 for (i = 0, path = NULL; path == NULL && i < path_data_n; i++) { in file_open()
263 if (stat(path_data[i].path, &st) < 0) { in file_open()
266 path_data[i].path); in file_open()
268 path = path_data[i].path; in file_open()
271 if (path == NULL) { in file_open()
280 ctx = file_open_dir(path, uri, provctx); in file_open()
[all …]
/openssl/crypto/
H A Dprovider_conf.c202 const char *value, const char *path, in provider_conf_activate() argument
237 if (path != NULL) in provider_conf_activate()
238 ossl_provider_set_module_path(prov, path); in provider_conf_activate()
317 const char *path = NULL; in provider_conf_load() local
353 path = confvalue; in provider_conf_load()
362 ok = provider_conf_activate(libctx, name, value, path, soft, cnf); in provider_conf_load()
373 if (ok && path != NULL) { in provider_conf_load()
374 entry.path = OPENSSL_strdup(path); in provider_conf_load()
375 if (entry.path == NULL) in provider_conf_load()
380 if (ok >= 1 && (entry.path != NULL || entry.parameters != NULL)) { in provider_conf_load()
/openssl/crypto/ocsp/
H A Docsp_http.c15 OSSL_HTTP_REQ_CTX *OCSP_sendreq_new(BIO *io, const char *path, in OCSP_sendreq_new() argument
32 NULL, NULL, path)) in OCSP_sendreq_new()
51 OCSP_RESPONSE *OCSP_sendreq_bio(BIO *b, const char *path, OCSP_REQUEST *req) in OCSP_sendreq_bio() argument
57 ctx = OCSP_sendreq_new(b, path, req, 0 /* default buf_size */); in OCSP_sendreq_bio()
/openssl/Configurations/
H A D00-base-templates.conf160 my $path = "";
162 $path = $withargs{brotli_lib} . "\\";
164 push(@libs, $path . "brotlicommon.lib");
165 push(@libs, $path . "brotlidec.lib");
166 push(@libs, $path . "brotlienc.lib");
/openssl/apps/
H A Drehash.c56 # define lstat(path, buf) stat(path, buf) argument
327 static int ends_with_dirsep(const char *path) in ends_with_dirsep() argument
329 if (*path != '\0') in ends_with_dirsep()
330 path += strlen(path) - 1; in ends_with_dirsep()
332 if (*path == ']' || *path == '>' || *path == ':') in ends_with_dirsep()
335 if (*path == '\\') in ends_with_dirsep()
338 return *path == '/'; in ends_with_dirsep()
/openssl/doc/man3/
H A DRAND_egd.pod11 int RAND_egd_bytes(const char *path, int num);
12 int RAND_egd(const char *path);
14 int RAND_query_egd_bytes(const char *path, unsigned char *buf, int num);
25 specified socket B<path>, and passes the data it receives into RAND_add().
29 the specified socket B<path>, where B<num> must be less than 256.
H A DOCSP_sendreq_new.pod20 OSSL_HTTP_REQ_CTX *OCSP_sendreq_new(BIO *io, const char *path,
22 OCSP_RESPONSE *OCSP_sendreq_bio(BIO *io, const char *path, OCSP_REQUEST *req);
43 with the B<BIO> I<io> to be used for requests and response, the URL path I<path>,
48 The I<io> and I<path> arguments to OCSP_sendreq_new() correspond to the
51 I<io> should haven been connected to host C<example.com> on port 80 and I<path>
55 and to gather the response via HTTP, using the BIO I<io> and I<path>
/openssl/Configurations/platform/
H A DBASE.pm71 my $path = shift;
73 if ($path =~ m|\Q${_}\E$|) {
77 return $path;

Completed in 30 milliseconds

1234567