]> WPIA git - cassiopeia.git/blobdiff - src/slipBio.cpp
upd: extract remote signer class, mostly
[cassiopeia.git] / src / slipBio.cpp
index 725e837a228122da085b14a3f4f88e581d7f34e3..ced5a6fb4639a6a6dafbcacb96b4055f993e4136 100644 (file)
@@ -37,6 +37,7 @@ SlipBIO::SlipBIO() {
     this->decodeTarget = 0;
     this->decodePos = 0;
     this->rawPos = 0;
+    this->failed = false;
 }
 
 void SlipBIO::setTarget( std::shared_ptr<OpensslBIO> target ) {
@@ -45,6 +46,7 @@ void SlipBIO::setTarget( std::shared_ptr<OpensslBIO> target ) {
 
 SlipBIO::SlipBIO( std::shared_ptr<OpensslBIO> target ) {
     this->target = target;
+
     this->buffer = std::vector<char>( 4096 );
     this->decodeTarget = 0;
     this->decodePos = 0;