mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-28 13:58:41 +02:00
fixed: crypto++ compile errors, linux compiler syntax bugs, and code style (spaces -> tabs)
This commit is contained in:
parent
650da22c33
commit
c0dcdd52e7
10 changed files with 99 additions and 77 deletions
|
@ -16,6 +16,7 @@
|
|||
*/
|
||||
|
||||
#include "CCryptoMode.h"
|
||||
#include "XSynergy.h"
|
||||
|
||||
using namespace CryptoPP;
|
||||
|
||||
|
@ -46,7 +47,7 @@ CCryptoMode::CCryptoMode(ECryptoMode mode, bool encryption) :
|
|||
break;
|
||||
|
||||
default:
|
||||
throw std::exception("crypto mode not set");
|
||||
throw XBadCryptoMode();
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
@ -71,7 +72,7 @@ CCryptoMode::CCryptoMode(ECryptoMode mode, bool encryption) :
|
|||
break;
|
||||
|
||||
default:
|
||||
throw std::exception("crypto mode not set");
|
||||
throw XBadCryptoMode();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue