proxygen
TestUtil.cpp File Reference

Go to the source code of this file.

Namespaces

 wangle
 

Functions

std::vector< std::pair< SSL_SESSION *, size_t > > wangle::getSessions ()
 
std::pair< SSL_SESSION *, size_t > wangle::getSessionWithTicket ()
 
SSLSessionPtr wangle::createPersistentTestSession (std::pair< SSL_SESSION *, size_t > session)
 
std::string wangle::getSessionData (SSL_SESSION *s, size_t expectedLength)
 
bool wangle::isSameSession (std::pair< SSL_SESSION *, size_t > lhs, std::pair< SSL_SESSION *, size_t > rhs)
 

Variables

const size_t wangle::kNumSessions = 3
 
const size_t wangle::kSessionDataLen = 1060
 
const unsigned char wangle::kSessionData [kNumSessions][kSessionDataLen]
 
const unsigned char wangle::kSessionDataWithTicket []