Home
last modified time | relevance | path

Searched refs:filename (Results 1 – 25 of 150) sorted by relevance

123456

/openssl/test/recipes/70-test_quic_multistream_data/
H A Dverify-qlog.py14 def __init__(self, filename, msg): argument
24 def load_file(filename): argument
26 with open(filename, 'r') as fi:
41 def check_header(filename, hdr): argument
81 def check_event(filename, event): argument
143 def check_frame(filename, event, frame): argument
154 def check_file(filename): argument
155 objs = load_file(filename)
159 check_header(filename, objs[0])
161 check_event(filename, event)
[all …]
/openssl/crypto/
H A Do_fopen.c46 if (filename == NULL) in openssl_fopen()
49 len_0 = (int)strlen(filename) + 1; in openssl_fopen()
83 file = fopen(filename, mode); in openssl_fopen()
86 file = fopen(filename, mode); in openssl_fopen()
100 *filename; filename++, iterator++) { in openssl_fopen()
102 && filename[1] != '.' && filename[1] != '/') { in openssl_fopen()
106 *iterator = *filename; in openssl_fopen()
108 lastchar = *filename; in openssl_fopen()
111 filename = newname; in openssl_fopen()
113 file = fopen(filename, mode); in openssl_fopen()
[all …]
/openssl/crypto/dso/
H A Ddso_lib.c132 if (filename != NULL) in DSO_load()
137 filename = ret->filename; in DSO_load()
138 if (filename == NULL) { in DSO_load()
222 return dso->filename; in DSO_get_filename()
242 dso->filename = copied; in DSO_set_filename()
271 if (filename == NULL) in DSO_convert_filename()
272 filename = dso->filename; in DSO_convert_filename()
273 if (filename == NULL) { in DSO_convert_filename()
305 char *filename = NULL; in DSO_dsobyaddr() local
312 if (filename != NULL in DSO_dsobyaddr()
[all …]
H A Ddso_win32.c102 if (filename == NULL) { in win32_load()
125 OPENSSL_free(filename); in win32_load()
209 if (!filename) { in win32_splitter()
220 if ((filename[0] == '\\' && filename[1] == '\\') in win32_splitter()
221 || (filename[0] == '/' && filename[1] == '/')) { in win32_splitter()
223 filename += 2; in win32_splitter()
224 start = filename; in win32_splitter()
229 last = filename[0]; in win32_splitter()
252 filename++; in win32_splitter()
257 filename++; in win32_splitter()
[all …]
H A Ddso_vms.c83 char filename[NAMX_MAXRSS + 1]; member
124 if (filename == NULL) { in vms_load()
150 sp1 = strrchr(filename, ']'); in vms_load()
151 sp2 = strrchr(filename, '>'); in vms_load()
159 sp1 = filename; in vms_load()
197 p->filename[sp2 - sp1] = '\0'; in vms_load()
199 strncpy(p->imagename, filename, sp1 - filename); in vms_load()
228 OPENSSL_free(filename); in vms_load()
472 len = strlen(filename); in vms_name_converter()
474 p = strchr(filename, ':'); in vms_name_converter()
[all …]
H A Ddso_dl.c22 static char *dl_name_converter(DSO *dso, const char *filename);
61 char *filename = DSO_convert_filename(dso, NULL); in dl_load() local
63 if (filename == NULL) { in dl_load()
67 ptr = shl_load(filename, BIND_IMMEDIATE | in dl_load()
89 dso->loaded_filename = filename; in dl_load()
93 OPENSSL_free(filename); in dl_load()
218 len = strlen(filename); in dl_name_converter()
220 transform = (strchr(filename, '/') == NULL); in dl_name_converter()
237 BIO_snprintf(translated, rsize, "%s", filename); in dl_name_converter()
259 len = (int)strlen(inf.filename); in dl_pathbyaddr()
[all …]
H A Ddso_dlfcn.c44 static char *dlfcn_name_converter(DSO *dso, const char *filename);
100 char *filename = DSO_convert_filename(dso, NULL); in dlfcn_load() local
104 if (filename == NULL) { in dlfcn_load()
113 if (filename[strlen(filename) - 1] == ')') in dlfcn_load()
116 ptr = dlopen(filename, flags); in dlfcn_load()
119 "filename(%s): %s", filename, dlerror()); in dlfcn_load()
132 dso->loaded_filename = filename; in dlfcn_load()
136 OPENSSL_free(filename); in dlfcn_load()
252 len = strlen(filename); in dlfcn_name_converter()
254 transform = (strchr(filename, '/') == NULL); in dlfcn_name_converter()
[all …]
/openssl/test/
H A Dcms-examples.pl60 my ( $filename, $data );
73 $filename = $1;
77 $filename = "$exdir/$filename";
78 if ( $filename =~ /\.bin$/ || $filename =~ /\.eml$/ ) {
80 open OUT, ">$filename";
84 push @cleanup, $filename;
93 $filename = "";
143 my ( $filename, $str, $data ) = @_;
145 $filename =~ s/\.[^.]*$/.pem/;
147 push @cleanup, $filename;
[all …]
H A Dpkits-test.pl768 my $filename = $title;
770 $filename =~ tr/ -//d;
771 $filename = "Signed${filename}.eml";
772 if ( !-f "$pkitsdir/$filename" ) {
773 print "\"$filename\" not found\n";
794 print "Filename: $pkitsdir/$filename\n";
805 my $filename = $title;
807 $filename =~ tr/ -//d;
808 $filename = "Signed${filename}.eml";
809 if ( !-f "$pkitsdir/$filename" ) {
[all …]
H A Dsimpledynamic.c18 int sd_load(const char *filename, SD *lib, int type) in sd_load() argument
22 if (filename[strlen(filename) - 1] == ')') in sd_load()
25 *lib = dlopen(filename, dl_flags); in sd_load()
47 int sd_load(const char *filename, SD *lib, ossl_unused int type) in sd_load() argument
49 *lib = LoadLibraryA(filename); in sd_load()
/openssl/apps/
H A Drehash.c73 char *filename; member
151 if (strcmp(filename, ep->filename) == 0) { in add_entry()
168 ep->filename = OPENSSL_strdup(filename); in add_entry()
169 if (ep->filename == NULL) { in add_entry()
205 ch = filename[i]; in handle_symlink()
211 if (filename[i++] != '.') in handle_symlink()
220 id = strtoul(&filename[i], &endptr, 10); in handle_symlink()
259 opt_getprog(), filename); in do_file()
272 opt_getprog(), filename); in do_file()
359 const char *filename; in do_dir() local
[all …]
/openssl/util/
H A Dfind-doc-nits282 my $filename = shift;
298 my $dirname = dirname($filename);
506 my $filename = shift;
534 my $filename = shift;
602 my $filename = shift;
700 my $filename = $podinfo{filename};
708 my $id = "${filename}:1:";
969 my $filename = $podinfo{filename};
970 $filename =~ m|man(\d)/|;
973 my $id = "${filename}:1:";
[all …]
H A Dmkrc.pl22 my $filename = $ARGV[0];
25 if ( $filename =~ /openssl/i ) {
57 VALUE "InternalName", "$filename\\0"
58 VALUE "OriginalFilename", "$filename\\0"
/openssl/test/recipes/
H A D80-test_ca_internals.t21 filename => 'index.txt',
29 filename => 'index.txt',
37 filename => 'index.txt',
45 filename => 'index.txt',
53 filename => 'index.txt',
61 filename => 'index.txt',
69 filename => 'index.txt',
131 $opts->{filename},
H A D80-test_ca.t133 my ($filename, $opts) = @_;
135 subtest "Revoke certificate and generate CRL: $filename" => sub {
147 $ENV{CN2} = $filename;
154 '-out', "$filename-req.pem",
166 '-in', "$filename-req.pem",
167 '-out', "$filename-cert.pem",
176 '-revoke', "$filename-cert.pem",
196 '-out', "$filename-crl.pem",
209 my $crl_lastupdate = crl_field("$filename-crl.pem", 'lastUpdate');
227 my $crl_nextupdate = crl_field("$filename-crl.pem", 'nextUpdate');
/openssl/util/perl/OpenSSL/Util/
H A DPod.pm100 my $filename = undef;
105 $filename = $input;
106 open $fh, $input or die "Trying to read $filename: $!\n";
170 print STDERR "DEBUG: Done reading $filename\n" if $defaults{debug};
190 filename => $filename );
/openssl/crypto/conf/
H A Dconf_sap.c50 const char *filename; in ossl_config_int() local
59 filename = settings ? settings->filename : NULL; in ossl_config_int()
66 filename, appname, flags); in ossl_config_int()
71 filename, appname, flags); in ossl_config_int()
/openssl/doc/man1/
H A Dopenssl-crl2pkcs7.pod.in14 [B<-in> I<filename>]
15 [B<-out> I<filename>]
16 [B<-certfile> I<filename>]
44 =item B<-in> I<filename>
46 This specifies the input filename to read a CRL from or standard input if this
49 =item B<-out> I<filename>
51 Specifies the output filename to write the PKCS#7 structure to or standard
54 =item B<-certfile> I<filename>
56 Specifies a filename containing one or more certificates in B<PEM> format.
H A Dopenssl-pkeyparam.pod.in16 [B<-in> I<filename>]
17 [B<-out> I<filename>]
36 =item B<-in> I<filename>
41 =item B<-out> I<filename>
43 This specifies the output filename to write parameters to or standard output if
45 The output filename can be the same as the input filename,
H A Dopenssl-crl.pod.in14 [B<-key> I<filename>]
18 [B<-in> I<filename>]
19 [B<-out> I<filename>]
20 [B<-gendelta> I<filename>]
57 =item B<-key> I<filename>
66 =item B<-in> I<filename>
68 This specifies the input filename to read from or standard input if this
71 =item B<-out> I<filename>
73 Specifies the output filename to write to or standard output by
76 =item B<-gendelta> I<filename>
H A Dopenssl-nseq.pod.in12 [B<-in> I<filename>]
13 [B<-out> I<filename>]
37 =item B<-in> I<filename>
39 This specifies the input filename to read or standard input if this
42 =item B<-out> I<filename>
44 Specifies the output filename or standard output by default.
H A Dopenssl-spkac.pod.in16 [B<-in> I<filename>]
17 [B<-out> I<filename>]
19 [B<-key> I<filename>|I<uri>]
44 =item B<-in> I<filename>
46 This specifies the input filename to read from or standard input if this
49 =item B<-out> I<filename>
51 Specifies the output filename to write to or standard output by
59 =item B<-key> I<filename>|I<uri>
61 Create an SPKAC file using the private key specified by I<filename> or I<uri>.
/openssl/doc/man3/
H A DRAND_load_file.pod11 int RAND_load_file(const char *filename, long max_bytes);
13 int RAND_write_file(const char *filename);
19 RAND_load_file() reads a number of bytes from file B<filename> and
25 Also, note that B<filename> should be adequately protected so that an
27 If B<filename> is not a regular file, then user is considered to be
32 file B<filename> which can be used to initialize the PRNG by calling
37 filename.
40 value will be used as the seed filename.
/openssl/util/perl/OpenSSL/
H A DOrdinals.pm86 filename => undef, # File name registered when loading
119 my $filename = shift;
121 croak "Undefined filename" unless defined($filename);
127 open F, '<', $filename or croak "Unable to open $filename";
133 my $item = OpenSSL::Ordinals::Item->new(source => $filename, from => $_);
158 $self->{filename} = $filename;
208 $self->write($self->{filename}, %opts);
226 my $filename = shift;
229 croak "Undefined filename" unless defined($filename);
234 open F, '>', $filename or croak "Unable to open $filename";
[all …]
/openssl/apps/include/
H A Dapps.h63 BIO *bio_open_owner(const char *filename, int format, int private);
64 BIO *bio_open_default(const char *filename, char mode, int format);
65 BIO *bio_open_default_quiet(const char *filename, char mode, int format);
69 CONF *app_load_config_bio(BIO *in, const char *filename);
70 # define app_load_config(filename) app_load_config_internal(filename, 0) argument
71 # define app_load_config_quiet(filename) app_load_config_internal(filename, 1) argument
72 CONF *app_load_config_internal(const char *filename, int quiet);
73 CONF *app_load_config_verbose(const char *filename, int verbose);

Completed in 53 milliseconds

123456