Home | History | Annotate | Download | only in apps

Lines Matching defs:in

11  * apply to all code found in this distribution, be it the RC4, RSA,
16 * Copyright remains Eric Young's, and as such any Copyright notices in
18 * If this package is used in a product, Eric Young should be given attribution
20 * This can be in the form of a textual message at program startup or
21 * in documentation (online or textual) provided with the package.
23 * Redistribution and use in source and binary forms, with or without
28 * 2. Redistributions in binary form must reproduce the above copyright
29 * notice, this list of conditions and the following disclaimer in the
44 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
48 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
49 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
61 * Redistribution and use in source and binary forms, with or without
68 * 2. Redistributions in binary form must reproduce the above copyright
69 * notice, this list of conditions and the following disclaimer in
76 * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
84 * nor may "OpenSSL" appear in their names without prior written
90 * for use in the OpenSSL Toolkit (http://www.openssl.org/)"
95 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
100 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
102 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
116 in POSIX-2 is left undefined. */
290 void program_name(char *in, char *out, int size)
295 n=strlen(in);
299 if ((in[i] == '/') || (in[i] == '\\') || (in[i] == ':'))
301 p= &(in[i+1]);
306 p=in;
339 void program_name(char *in, char *out, int size)
341 char *p=in, *q;
366 void program_name(char *in, char *out, int size)
370 p=strrchr(in,'/');
374 p=in;
741 static int load_pkcs12(BIO *err, BIO *in, const char *desc,
749 p12 = d2i_PKCS12_bio(in, NULL);
774 "Mac verify error (wrong password?) in PKCS12 file for %s\n", desc);
1457 /* Try to load an engine in a shareable library */
1591 BIO *in=NULL;
1599 if ((in=BIO_new(BIO_s_file())) == NULL)
1605 if (BIO_read_filename(in,serialfile) <= 0)
1621 if (!a2i_ASN1_INTEGER(in,ai,buf,1024))
1641 if (in != NULL) BIO_free(in);
1800 BIO *in = BIO_new(BIO_s_file());
1805 if (in == NULL)
1810 if (BIO_read_filename(in,dbfile) <= 0)
1816 if ((tmpdb = TXT_DB_read(in,DB_NUMBER)) == NULL)
1871 if (in) BIO_free_all(in);
2117 * subject is expected to be in the format /type0=value0/type1=value1/type2=...
2157 if (*sp == '\\') /* is there anything to escape in the type...? */
2410 int bio_to_mem(unsigned char **out, int maxlen, BIO *in)
2424 len = BIO_read(in, tbuf, len);
2728 * in a format suitable for passing to SSL_CTX_set_next_protos_advertised.
2731 * in: a NUL termianted string like "abc,def,ghi"
2735 unsigned char *next_protos_parse(unsigned short *outlen, const char *in)
2741 len = strlen(in);
2745 out = OPENSSL_malloc(strlen(in) + 1);
2751 if (i == len || in[i] == ',')
2762 out[i+1] = in[i];