Skip to content

Commit fd6abad

Browse files
committed
constexpr in srp
1 parent 9f2bf05 commit fd6abad

File tree

1 file changed

+3
-3
lines changed
  • src/auth/SecureRemotePassword

1 file changed

+3
-3
lines changed

src/auth/SecureRemotePassword/srp.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ class RemotePassword : public Firebird::GlobalStorage
103103
virtual ~RemotePassword();
104104

105105
static const char* plugName;
106-
static const unsigned SRP_KEY_SIZE = 128;
107-
static const unsigned SRP_VERIFIER_SIZE = SRP_KEY_SIZE;
108-
static const unsigned SRP_SALT_SIZE = 32;
106+
static constexpr unsigned SRP_KEY_SIZE = 128;
107+
static constexpr unsigned SRP_VERIFIER_SIZE = SRP_KEY_SIZE;
108+
static constexpr unsigned SRP_SALT_SIZE = 32;
109109

110110
static Firebird::string pluginName(unsigned bits);
111111

0 commit comments

Comments
 (0)