8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-02 09:20:39 +01:00

Code cleanup - this should fix MacOS build

This commit is contained in:
AlexPeshkoff 2018-10-05 17:02:35 +03:00
parent 293950e247
commit e548ae3815
3 changed files with 4 additions and 6 deletions

View File

@ -198,6 +198,9 @@ BigInteger RemotePassword::clientProof(const char* account, const char* salt, co
return MakeProof(n1, n2, salt, sessionKey);
}
RemotePassword::~RemotePassword()
{ }
#if SRP_DEBUG > 0
void dumpIt(const char* name, const Firebird::UCharBuffer& data)
{

View File

@ -95,6 +95,7 @@ public:
public:
RemotePassword();
virtual ~RemotePassword();
static const char* plugName;
static const unsigned SRP_KEY_SIZE = 128;

View File

@ -49,7 +49,6 @@
#ifndef _SHA2_H
#define _SHA2_H
#include <string>
#include <string.h>
#ifndef NIST_COMPLIANCY_TESTS
#include "firebird.h"
@ -147,11 +146,6 @@ public:
sha_update(message, length);
}
void process(const std::string& str)
{
process(str.length(), str.c_str());
}
void process(const char* str)
{
process(strlen(str), str);