Searched refs:textBuffer (Results 1 – 1 of 1) sorted by relevance
34 std::unique_ptr<char[]> textBuffer = std::make_unique<char[]>(contentLen + 1); in GetTextContentFromX509Name() local35 if (textBuffer == nullptr) { in GetTextContentFromX509Name()39 if (X509_NAME_get_text_by_NID(name, nId, textBuffer.get(), contentLen + 1) != contentLen) { in GetTextContentFromX509Name()42 textContent = std::string(textBuffer.get()); in GetTextContentFromX509Name()43 textBuffer.reset(nullptr); in GetTextContentFromX509Name()