]> WPIA git - cassiopeia.git/blobdiff - src/crypto/sslUtil.cpp
more logging of revocation, fix revocation write-back
[cassiopeia.git] / src / crypto / sslUtil.cpp
index 05689c05aaed8dc8f5a34bc71ee62d2663072863..687387c1573c7d9c615fdcfcff78cb3ab838b9d6 100644 (file)
@@ -212,6 +212,7 @@ std::string timeToString( std::shared_ptr<ASN1_TIME> time ) {
     std::shared_ptr<ASN1_GENERALIZEDTIME> 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?";
     }