• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/OpenSSL098-52/src/ssl/

Lines Matching refs: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
88 BIO *in;
92 in=BIO_new(BIO_s_file_internal());
93 if (in == NULL)
99 if (BIO_read_filename(in,file) <= 0)
107 x=d2i_X509_bio(in,NULL);
112 x=PEM_read_bio_X509(in,NULL,ssl->ctx->default_passwd_callback,ssl->ctx->default_passwd_callback_userdata);
129 if (in != NULL) BIO_free(in);
232 BIO *in;
235 in=BIO_new(BIO_s_file_internal());
236 if (in == NULL)
242 if (BIO_read_filename(in,file) <= 0)
250 rsa=d2i_RSAPrivateKey_bio(in,NULL);
255 rsa=PEM_read_bio_RSAPrivateKey(in,NULL,
271 if (in != NULL) BIO_free(in);
317 BIO *in;
320 in=BIO_new(BIO_s_file_internal());
321 if (in == NULL)
327 if (BIO_read_filename(in,file) <= 0)
335 pkey=PEM_read_bio_PrivateKey(in,NULL,
341 pkey = d2i_PrivateKey_bio(in,NULL);
356 if (in != NULL) BIO_free(in);
457 BIO *in;
461 in=BIO_new(BIO_s_file_internal());
462 if (in == NULL)
468 if (BIO_read_filename(in,file) <= 0)
476 x=d2i_X509_bio(in,NULL);
481 x=PEM_read_bio_X509(in,NULL,ctx->default_passwd_callback,ctx->default_passwd_callback_userdata);
498 if (in != NULL) BIO_free(in);
554 BIO *in;
557 in=BIO_new(BIO_s_file_internal());
558 if (in == NULL)
564 if (BIO_read_filename(in,file) <= 0)
572 rsa=d2i_RSAPrivateKey_bio(in,NULL);
577 rsa=PEM_read_bio_RSAPrivateKey(in,NULL,
593 if (in != NULL) BIO_free(in);
636 BIO *in;
639 in=BIO_new(BIO_s_file_internal());
640 if (in == NULL)
646 if (BIO_read_filename(in,file) <= 0)
654 pkey=PEM_read_bio_PrivateKey(in,NULL,
660 pkey = d2i_PrivateKey_bio(in,NULL);
675 if (in != NULL) BIO_free(in);
701 /* Read a file that contains our certificate in "PEM" format,
703 * sent to the peer in the Certificate message.
707 BIO *in;
713 in=BIO_new(BIO_s_file_internal());
714 if (in == NULL)
720 if (BIO_read_filename(in,file) <= 0)
726 x=PEM_read_bio_X509_AUX(in,NULL,ctx->default_passwd_callback,ctx->default_passwd_callback_userdata);
751 while ((ca = PEM_read_bio_X509(in,NULL,ctx->default_passwd_callback,ctx->default_passwd_callback_userdata))
776 if (in != NULL) BIO_free(in);