Home
last modified time | relevance | path

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

12345

/openssl-master/fuzz/
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-master/util/perl/OpenSSL/
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-master/test/recipes/
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 …]
A D80-test_pkcs12.t77 my @path = qw(test certs);
86 "-CAfile", srctop_file(@path, "sroot-cert.pem"),
87 "-untrusted", srctop_file(@path, "ca-cert.pem"),
88 "-in", srctop_file(@path, "ee-cert.pem"),
97 "-in", srctop_file(@path, "ee-cert.pem"),
98 "-certfile", srctop_file(@path, "v3-certs-TDES.p12"),
110 "-in", srctop_file(@path, "v3-certs-RC2.p12"),
121 "-inkey", srctop_file(@path, "cert-key-cert.pem"),
122 "-in", srctop_file(@path, "cert-key-cert.pem"),
138 "-in", srctop_file(@path, "ee-cert.pem"), "-caname", "testname",
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"),
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"));
A D30-test_engine.t18 my @path = qw(test certs);
24 ok(run(test(["enginetest", srctop_file(@path, "root-cert.pem")])),
/openssl-master/include/internal/
A Dcryptlib.h233 if (*path != '\0') in ossl_ends_with_dirsep()
234 path += strlen(path) - 1; in ossl_ends_with_dirsep()
236 if (*path == ']' || *path == '>' || *path == ':') in ossl_ends_with_dirsep()
239 if (*path == '\\') in ossl_ends_with_dirsep()
242 return *path == '/'; in ossl_ends_with_dirsep()
249 || ((path[0] == '[' || path[0] == '<') in ossl_is_absolute_path()
250 && path[1] != '.' && path[1] != '-' in ossl_is_absolute_path()
251 && path[1] != ']' && path[1] != '>')) in ossl_is_absolute_path()
254 if (path[0] == '\\' in ossl_is_absolute_path()
255 || (path[0] != '\0' && path[1] == ':')) in ossl_is_absolute_path()
[all …]
/openssl-master/test/recipes/80-test_cmp_http_data/
A Dtest_connection.csv1 expected,description, -section,val, -server,val, -proxy,val, -no_proxy,val, -tls_used,noarg, -path,…
25 1,path explicit, -section,, -server,_SERVER_HOST:_SERVER_PORT,,,,,BLANK,, -path,_SERVER_PATH,BLANK,…
26 1,path overrides -server path, -section,, -server,_SERVER_HOST:_SERVER_PORT/ignored,,,,,BLANK,, -pa…
27 1,path default -server path, -section,, -server,_SERVER_HOST:_SERVER_PORT/_SERVER_PATH,,,,,BLANK,, …
28 0,path missing argument, -section,,,,,,,,BLANK,, -path,,BLANK,,BLANK,,BLANK,
29 0,path wrong, -section,,,,,,,,BLANK,, -path,/publicweb/cmp/example,BLANK,,BLANK,,BLANK,
30 1,path with additional '/'s fine according to RFC 3986, -section,,,,,,,,BLANK,, -path,/_SERVER_PATH…
31 0,path mixed case, -section,,,,,,,,BLANK,, -path,pKiX/,BLANK,,BLANK,,BLANK,
32 0,path upper case, -section,,,,,,,,BLANK,, -path,PKIX/,BLANK,,BLANK,,BLANK,
/openssl-master/crypto/rand/
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
111 int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes) in RAND_query_egd_bytes() argument
124 if (strlen(path) >= sizeof(addr.sun_path)) in RAND_query_egd_bytes()
126 strcpy(addr.sun_path, path); in RAND_query_egd_bytes()
127 i = offsetof(struct sockaddr_un, sun_path) + strlen(path); in RAND_query_egd_bytes()
206 int RAND_egd_bytes(const char *path, int bytes) in RAND_egd_bytes() argument
210 num = RAND_query_egd_bytes(path, NULL, bytes); in RAND_egd_bytes()
218 int RAND_egd(const char *path) in RAND_egd() argument
[all …]
/openssl-master/crypto/x509/
A Dx509_d2.c64 int X509_STORE_load_path(X509_STORE *ctx, const char *path) in X509_STORE_load_path() argument
68 if (path == NULL in X509_STORE_load_path()
70 || X509_LOOKUP_add_dir(lookup, path, X509_FILETYPE_PEM) == 0) in X509_STORE_load_path()
95 const char *path, OSSL_LIB_CTX *libctx, in X509_STORE_load_locations_ex() argument
98 if (file == NULL && path == NULL) in X509_STORE_load_locations_ex()
102 if (path != NULL && !X509_STORE_load_path(ctx, path)) in X509_STORE_load_locations_ex()
108 const char *path) in X509_STORE_load_locations() argument
110 return X509_STORE_load_locations_ex(ctx, file, path, NULL, NULL); in X509_STORE_load_locations()
/openssl-master/test/
A Dhttp_test.c37 const char *req, *path; in mock_http_server() local
51 path = hdr; in mock_http_server()
68 if (strncmp(path, RPATH, strlen(RPATH)) != 0) { in mock_http_server()
217 && TEST_str_eq(path, exp_path) in test_http_url_ok()
228 OPENSSL_free(path); in test_http_url_ok()
236 char *host, *path; in test_http_url_path_query_ok() local
242 && TEST_str_eq(path, exp_path_qu); in test_http_url_path_query_ok()
244 OPENSSL_free(path); in test_http_url_path_query_ok()
277 char *host = "1", *port = "1", *path = "1"; in test_http_url_invalid() local
285 && TEST_ptr_null(path); in test_http_url_invalid()
[all …]
/openssl-master/doc/internal/man3/
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-master/crypto/http/
A Dhttp_lib.c49 const char *path, *path_end; in OSSL_parse_url() local
123 path = p; in OSSL_parse_url()
124 if (*path != '\0' && *path != '/' && *path != '?' && *path != '#') { in OSSL_parse_url()
128 path_end = query = query_end = frag = frag_end = path + strlen(path); in OSSL_parse_url()
158 if (*path == '/') { in OSSL_parse_url()
159 if (!copy_substring(ppath, path, path_end)) in OSSL_parse_url()
162 size_t buflen = 1 + path_end - path + 1; in OSSL_parse_url()
166 BIO_snprintf(*ppath, buflen, "/%s", path); in OSSL_parse_url()
/openssl-master/apps/lib/
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-master/crypto/
A Dprovider_conf.c146 const char *path = NULL; in provider_conf_load() local
179 path = confvalue; in provider_conf_load()
216 if (path != NULL) in provider_conf_load()
217 ossl_provider_set_module_path(prov, path); in provider_conf_load()
261 if (ok && path != NULL) { in provider_conf_load()
262 entry.path = OPENSSL_strdup(path); in provider_conf_load()
263 if (entry.path == NULL) { in provider_conf_load()
270 if (ok && (entry.path != NULL || entry.parameters != NULL)) in provider_conf_load()
272 if (!ok || (entry.path == NULL && entry.parameters == NULL)) { in provider_conf_load()
/openssl-master/providers/implementations/storemgmt/
A Dfile_store.c202 const char *path; in file_open() member
206 const char *path; in file_open() local
215 path_data[path_data_n++].path = uri; in file_open()
252 path_data[path_data_n++].path = p; in file_open()
256 for (i = 0, path = NULL; path == NULL && i < path_data_n; i++) { in file_open()
268 if (stat(path_data[i].path, &st) < 0) { in file_open()
271 path_data[i].path); in file_open()
273 path = path_data[i].path; in file_open()
276 if (path == NULL) { in file_open()
285 ctx = file_open_dir(path, uri, provctx); in file_open()
[all …]
/openssl-master/crypto/ocsp/
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-master/
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-master/apps/
A Drehash.c58 # define lstat(path, buf) stat(path, buf) argument
323 static int ends_with_dirsep(const char *path) in ends_with_dirsep() argument
325 if (*path != '\0') in ends_with_dirsep()
326 path += strlen(path) - 1; in ends_with_dirsep()
328 if (*path == ']' || *path == '>' || *path == ':') in ends_with_dirsep()
331 if (*path == '\\') in ends_with_dirsep()
334 return *path == '/'; in ends_with_dirsep()
/openssl-master/doc/man3/
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.
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 reponse, 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>
A DOSSL_HTTP_parse_url.pod49 C<[scheme://][userinfo@]host[:port][/path][?query][#fragment]> and splits it up
50 into scheme, userinfo, host, port, path, query, and fragment components.
56 The path component is also optional and defaults to C</>.
61 If I<pquery> is NULL, any given query component is handled as part of the path.
73 otherwise the first path element is interpreted as the hostname.
75 Calling the deprecated function OCSP_parse_url(url, host, port, path, ssl)
77 OSSL_HTTP_parse_url(url, ssl, NULL, host, port, NULL, path, NULL, NULL).
/openssl-master/Configurations/platform/
A DBASE.pm70 my $path = shift;
72 if ($path =~ m|\Q${_}\E$|) {
76 return $path;
/openssl-master/include/openssl/
A Drand.h104 int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes);
105 int RAND_egd(const char *path);
106 int RAND_egd_bytes(const char *path, int bytes);

Completed in 26 milliseconds

12345