mirror of
https://github.com/debauchee/barrier.git
synced 2024-11-22 07:20:15 +03:00
[fix](ui): Adjust SSL references to say 'TLS' as well
This fixes #898. Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
This commit is contained in:
parent
43708ae0d6
commit
2485454815
@ -77,7 +77,7 @@
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>SSL Fingerprint:</string>
|
||||
<string>SSL/TLS Fingerprint:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -184,7 +184,7 @@
|
||||
<item row="2" column="0">
|
||||
<widget class="QCheckBox" name="m_pCheckBoxEnableCrypto">
|
||||
<property name="text">
|
||||
<string>Enable &SSL</string>
|
||||
<string>Enable &SSL/TLS</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -85,7 +85,7 @@ std::pair<bool, std::string> SslCertificate::runTool(const QStringList& args)
|
||||
if (!success || code != 0)
|
||||
{
|
||||
emit error(
|
||||
QString("SSL tool failed: %1\n\nCode: %2\nError: %3")
|
||||
QString("SSL/TLS tool failed: %1\n\nCode: %2\nError: %3")
|
||||
.arg(program)
|
||||
.arg(process.exitCode())
|
||||
.arg(standardError.isEmpty() ? "Unknown" : standardError));
|
||||
@ -139,7 +139,7 @@ void SslCertificate::generateCertificate()
|
||||
return;
|
||||
}
|
||||
|
||||
emit info(tr("SSL certificate generated."));
|
||||
emit info(tr("SSL/TLS certificate generated."));
|
||||
}
|
||||
|
||||
generateFingerprint(filename);
|
||||
@ -173,10 +173,10 @@ void SslCertificate::generateFingerprint(const QString& certificateFilename)
|
||||
i, output.size() - i);
|
||||
|
||||
Fingerprint::local().trust(QString::fromStdString(fingerprint), false);
|
||||
emit info(tr("SSL fingerprint generated."));
|
||||
emit info(tr("SSL/TLS fingerprint generated."));
|
||||
}
|
||||
else {
|
||||
emit error(tr("Failed to find SSL fingerprint."));
|
||||
emit error(tr("Failed to find SSL/TLS fingerprint."));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user