• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /barrelfish-2018-10-04/lib/openssl-1.0.0d/ssl/

Lines Matching defs:bp

107 int SSL_SESSION_print(BIO *bp, const SSL_SESSION *x)
113 if (BIO_puts(bp,"SSL-Session:\n") <= 0) goto err;
126 if (BIO_printf(bp," Protocol : %s\n",s) <= 0) goto err;
132 if (BIO_printf(bp," Cipher : %06lX\n",x->cipher_id&0xffffff) <= 0)
137 if (BIO_printf(bp," Cipher : %04lX\n",x->cipher_id&0xffff) <= 0)
143 if (BIO_printf(bp," Cipher : %s\n",((x->cipher == NULL)?"unknown":x->cipher->name)) <= 0)
146 if (BIO_puts(bp," Session-ID: ") <= 0) goto err;
149 if (BIO_printf(bp,"%02X",x->session_id[i]) <= 0) goto err;
151 if (BIO_puts(bp,"\n Session-ID-ctx: ") <= 0) goto err;
154 if (BIO_printf(bp,"%02X",x->sid_ctx[i]) <= 0)
157 if (BIO_puts(bp,"\n Master-Key: ") <= 0) goto err;
160 if (BIO_printf(bp,"%02X",x->master_key[i]) <= 0) goto err;
162 if (BIO_puts(bp,"\n Key-Arg : ") <= 0) goto err;
165 if (BIO_puts(bp,"None") <= 0) goto err;
170 if (BIO_printf(bp,"%02X",x->key_arg[i]) <= 0) goto err;
173 if (BIO_puts(bp,"\n Krb5 Principal: ") <= 0) goto err;
176 if (BIO_puts(bp,"None") <= 0) goto err;
181 if (BIO_printf(bp,"%02X",x->krb5_client_princ[i]) <= 0) goto err;
185 if (BIO_puts(bp,"\n PSK identity: ") <= 0) goto err;
186 if (BIO_printf(bp, "%s", x->psk_identity ? x->psk_identity : "None") <= 0) goto err;
187 if (BIO_puts(bp,"\n PSK identity hint: ") <= 0) goto err;
188 if (BIO_printf(bp, "%s", x->psk_identity_hint ? x->psk_identity_hint : "None") <= 0) goto err;
193 if (BIO_printf(bp,
200 if (BIO_puts(bp, "\n TLS session ticket:\n") <= 0) goto err;
201 if (BIO_dump_indent(bp, (char *)x->tlsext_tick, x->tlsext_ticklen, 4) <= 0)
214 if (BIO_printf(bp,"\n Compression: %d",x->compress_meth) <= 0) goto err;
218 if (BIO_printf(bp,"\n Compression: %d (%s)", comp->id,comp->method->name) <= 0) goto err;
224 if (BIO_printf(bp, "\n Start Time: %ld",x->time) <= 0) goto err;
228 if (BIO_printf(bp, "\n Timeout : %ld (sec)",x->timeout) <= 0) goto err;
230 if (BIO_puts(bp,"\n") <= 0) goto err;
232 if (BIO_puts(bp, " Verify return code: ") <= 0) goto err;
233 if (BIO_printf(bp, "%ld (%s)\n", x->verify_result,