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;
743 static int load_pkcs12(BIO *err, BIO *in, const char *desc,
751 p12 = d2i_PKCS12_bio(in, NULL);
776 "Mac verify error (wrong password?) in PKCS12 file for %s\n", desc);
1459 /* Try to load an engine in a shareable library */
1595 BIO *in=NULL;
1603 if ((in=BIO_new(BIO_s_file())) == NULL)
1609 if (BIO_read_filename(in,serialfile) <= 0)
1625 if (!a2i_ASN1_INTEGER(in,ai,buf,1024))
1645 if (in != NULL) BIO_free(in);
1804 BIO *in = BIO_new(BIO_s_file());
1809 if (in == NULL)
1814 if (BIO_read_filename(in,dbfile) <= 0)
1820 if ((tmpdb = TXT_DB_read(in,DB_NUMBER)) == NULL)
1875 if (in) BIO_free_all(in);
2121 * subject is expected to be in the format /type0=value0/type1=value1/type2=...
2161 if (*sp == '\\') /* is there anything to escape in the type...? */
2414 int bio_to_mem(unsigned char **out, int maxlen, BIO *in)
2428 len = BIO_read(in, tbuf, len);
2732 * in a format suitable for passing to SSL_CTX_set_next_protos_advertised.
2735 * in: a NUL termianted string like "abc,def,ghi"
2739 unsigned char *next_protos_parse(unsigned short *outlen, const char *in)
2745 len = strlen(in);
2749 out = OPENSSL_malloc(strlen(in) + 1);
2755 if (i == len || in[i] == ',')
2766 out[i+1] = in[i];