• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/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
83 int i2d_SSL_SESSION(SSL_SESSION *in, unsigned char **pp)
91 M_ASN1_I2D_vars(in);
93 if ((in == NULL) || ((in->cipher == NULL) && (in->cipher_id == 0)))
96 /* Note that I cheat in the following 2 assignments. I know
109 ASN1_INTEGER_set(&(a.ssl_version),in->ssl_version);
114 if (in->cipher == NULL)
115 l=in->cipher_id;
117 l=in->cipher->id;
118 if (in->ssl_version == SSL2_VERSION)
132 a.master_key.length=in->master_key_length;
134 a.master_key.data=in->master_key;
136 a.session_id.length=in->session_id_length;
138 a.session_id.data=in->session_id;
140 a.session_id_context.length=in->sid_ctx_length;
142 a.session_id_context.data=in->sid_ctx;
144 a.key_arg.length=in->key_arg_length;
146 a.key_arg.data=in->key_arg;
149 if (in->krb5_client_princ_len)
151 a.krb5_princ.length=in->krb5_client_princ_len;
153 a.krb5_princ.data=in->krb5_client_princ;
157 if (in->time != 0L)
162 ASN1_INTEGER_set(&(a.time),in->time);
165 if (in->timeout != 0L)
170 ASN1_INTEGER_set(&(a.timeout),in->timeout);
173 if (in->verify_result != X509_V_OK)
178 ASN1_INTEGER_set(&a.verify_result,in->verify_result);
188 if (in->krb5_client_princ_len)
191 if (in->key_arg_length > 0)
193 if (in->time != 0L)
195 if (in->timeout != 0L)
197 if (in->peer != NULL)
198 M_ASN1_I2D_len_EXP_opt(in->peer,i2d_X509,3,v3);
200 if (in->verify_result != X509_V_OK)
211 if (in->krb5_client_princ_len)
214 if (in->key_arg_length > 0)
216 if (in->time != 0L)
218 if (in->timeout != 0L)
220 if (in->peer != NULL)
221 M_ASN1_I2D_put_EXP_opt(in->peer,i2d_X509,3,v3);
224 if (in->verify_result != X509_V_OK)