]> WPIA git - cassiopeia.git/blobdiff - src/remoteSigner.cpp
add: Plug things together so we can have TBSCertificates from the database
[cassiopeia.git] / src / remoteSigner.cpp
index 3415dcf2427b23cc73edc73664c27fec432e5261..5d049034b5dc59e9511bb87596f9a2b1324a2f60 100644 (file)
@@ -28,7 +28,7 @@ std::shared_ptr<SignedCertificate> RemoteSigner::sign( std::shared_ptr<TBSCertif
     head.flags = 0;
     head.sessid = 13;
 
-    if( cert->csr_type == "csr" ) {
+    if( cert->csr_type == "CSR" ) {
         send( conn, head, RecordHeader::SignerCommand::SET_CSR, cert->csr_content );
     } else {
         std::cout << "Unknown csr_type: " << cert->csr_type;