| 109 | operator bool() const {return certs_;} |
| 110 | |
| 111 | bool push(const Certificate& certificate) |
| 112 | { |
| 113 | if (sk_X509_push(certs_, certificate.x509()) != 1) { |
| 114 | OPENDDS_SSL_LOG_ERR("sk_X509_push failed"); |
| 115 | return false; |
| 116 | } |
| 117 | |
| 118 | return true; |
| 119 | } |
| 120 | |
| 121 | private: |
| 122 | // No copy. |
no outgoing calls
no test coverage detected