| 83 | int strm_write(BIO *b, const char *buf, int len); |
| 84 | |
| 85 | long strm_ctrl(BIO *b, int cmd, long num, void *ptr) { |
| 86 | switch (cmd) { |
| 87 | case BIO_CTRL_FLUSH: |
| 88 | return 1; |
| 89 | case BIO_CTRL_PUSH: |
| 90 | case BIO_CTRL_POP: |
| 91 | return 0; |
| 92 | #if defined(BIO_CTRL_GET_KTLS_SEND) |
| 93 | case BIO_CTRL_GET_KTLS_SEND: |
| 94 | return 0; |
| 95 | #endif |
| 96 | #if defined(BIO_CTRL_GET_KTLS_RECV) |
| 97 | case BIO_CTRL_GET_KTLS_RECV: |
| 98 | return 0; |
| 99 | #endif |
| 100 | default: |
| 101 | LOG(FATAL) << b << " " << cmd << " " << num << " " << ptr; |
| 102 | } |
| 103 | return 1; |
| 104 | } |
| 105 | |
| 106 | BIO_METHOD *BIO_s_sslstream() { |
| 107 | static BIO_METHOD *result = [] { |
nothing calls this directly
no outgoing calls
no test coverage detected