Formatting the code.
This commit is contained in:
@@ -18,10 +18,10 @@
|
||||
|
||||
#include "OpenSSHKey.h"
|
||||
#include "ASN1Key.h"
|
||||
#include "crypto/SymmetricCipher.h"
|
||||
#include <QCryptographicHash>
|
||||
#include <QRegularExpression>
|
||||
#include <QStringList>
|
||||
#include <QCryptographicHash>
|
||||
#include "crypto/SymmetricCipher.h"
|
||||
|
||||
const QString OpenSSHKey::TYPE_DSA = "DSA PRIVATE KEY";
|
||||
const QString OpenSSHKey::TYPE_RSA = "RSA PRIVATE KEY";
|
||||
@@ -30,7 +30,7 @@ const QString OpenSSHKey::TYPE_OPENSSH = "OPENSSH PRIVATE KEY";
|
||||
// bcrypt_pbkdf.cpp
|
||||
int bcrypt_pbkdf(const QByteArray& pass, const QByteArray& salt, QByteArray& key, quint32 rounds);
|
||||
|
||||
OpenSSHKey::OpenSSHKey(QObject *parent)
|
||||
OpenSSHKey::OpenSSHKey(QObject* parent)
|
||||
: QObject(parent)
|
||||
, m_type(QString())
|
||||
, m_cipherName(QString("none"))
|
||||
@@ -43,7 +43,6 @@ OpenSSHKey::OpenSSHKey(QObject *parent)
|
||||
, m_comment(QString())
|
||||
, m_error(QString())
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
OpenSSHKey::OpenSSHKey(const OpenSSHKey& other)
|
||||
@@ -58,7 +57,6 @@ OpenSSHKey::OpenSSHKey(const OpenSSHKey& other)
|
||||
, m_comment(other.m_comment)
|
||||
, m_error(other.m_error)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bool OpenSSHKey::operator==(const OpenSSHKey& other) const
|
||||
|
||||
Reference in New Issue
Block a user