X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=src%2Fcrypto%2FsslUtil.cpp;h=687387c1573c7d9c615fdcfcff78cb3ab838b9d6;hb=f8d1606423c351f2003ce18258ef047e0d2af326;hp=05689c05aaed8dc8f5a34bc71ee62d2663072863;hpb=1867e1ad94f4549869b23a68851caf34cfbf8e8b;p=cassiopeia.git diff --git a/src/crypto/sslUtil.cpp b/src/crypto/sslUtil.cpp index 05689c0..687387c 100644 --- a/src/crypto/sslUtil.cpp +++ b/src/crypto/sslUtil.cpp @@ -212,6 +212,7 @@ std::string timeToString( std::shared_ptr time ) { std::shared_ptr gtime( ASN1_TIME_to_generalizedtime( time.get(), 0 ) ); std::string strdate( ( char* ) ASN1_STRING_data( gtime.get() ), ASN1_STRING_length( gtime.get() ) ); + logger::notef("openssl formatted me a date: %s", strdate); if( strdate[strdate.size() - 1] != 'Z' ) { throw "Got invalid date?"; }