codespell: Fix spelling issues, no functional changes

This commit is contained in:
Christian Hohnstaedt 2025-03-28 18:07:00 +01:00
parent 26daba7a3e
commit 89b7c6beea
19 changed files with 28 additions and 28 deletions

View File

@ -24,7 +24,7 @@ option to add options.
CODENAME : code name of ubuntu version
example: --build-arg CODENAME=jammy
PARALLELMFLAGS : make flags for parralel build
PARALLELMFLAGS : make flags for parallel build
example: --build-arg PARALLELMFLAGS=-j2
Run XCA

View File

@ -15,7 +15,7 @@
## __Changelog:__
A detailled changelog can be found here:
A detailed changelog can be found here:
<https://hohnstaedt.de/xca/index.php/software/changelog>

View File

@ -1,4 +1,4 @@
# CMake function to find the headerfile x509_vfy.h and search for all occurrances
# CMake function to find the headerfile x509_vfy.h and search for all occurrences
# of X509_V_ERR_ and replace them by #ifdef x V_ERR(x) #endif
if (OPENSSL_INCLUDE_DIR)

View File

@ -152,7 +152,7 @@ if(SPHINX)
endif()
else()
message(WARNING "Application 'qhelpgenerator' not found. In-app documentation disabed.")
message(WARNING "Application 'qhelpgenerator' not found. In-app documentation disabled.")
endif()
else(SPHINX)
message(WARNING "sphinx-build binary not found. Documentation generation disabled")

View File

@ -39,7 +39,7 @@ There is also a commandline option to issue a CRL:
CRL Export
----------
Cetificate Revocation Lists can be exported by the context-menu or by the button on the right.
Certificate Revocation Lists can be exported by the context-menu or by the button on the right.
- **Clipboard** Writes all selected requests in PEM format to the Clipboard.
- **File:** Write the request into a file.

View File

@ -32,7 +32,7 @@ if (${QT_VERSION} VERSION_LESS 6.0.0)
else()
qt5_add_translation(QM_FILES ${TS_FILES} OPTIONS -silent)
endif()
message(STATUS "Updating translations from source with 'lupdate' only supprted with QT6")
message(STATUS "Updating translations from source with 'lupdate' only supported with QT6")
target_sources(${CMAKE_PROJECT_NAME} PRIVATE ${QM_FILES})
else()
get_target_property(LIBSRC xcalib SOURCES)

View File

@ -15,7 +15,7 @@
* and then Base64 encode that.
* So finally this is PEM without newlines, header and footer
*
* Dates are alway stored as 'CHAR(15)' in the
* Dates are always stored as 'CHAR(15)' in the
* ASN.1 Generalized time 'yyyyMMddHHmmssZ' format
*/

View File

@ -375,7 +375,7 @@ void db_x509::newItem()
NewX509 *dlg = new NewX509();
dlg->setCert();
pki_x509 *sigcert = Store.lookupPki<pki_x509>(selected);
qDebug() << "SIGCERT" << (sigcert ? sigcert->getIntName() : "NULLL");
qDebug() << "SIGCERT" << (sigcert ? sigcert->getIntName() : "NULL");
dlg->defineSigner(sigcert, true);
if (dlg->exec()) {
newCert(dlg);
@ -387,7 +387,7 @@ void db_x509::newCert(pki_x509req *req)
{
NewX509 *dlg = new NewX509();
pki_x509 *sigcert = Store.lookupPki<pki_x509>(selected);
qDebug() << "SIGCERT" << (sigcert ? sigcert->getIntName() : "NULLL");
qDebug() << "SIGCERT" << (sigcert ? sigcert->getIntName() : "NULL");
dlg->setCert();
dlg->defineRequest(req);
dlg->defineSigner(sigcert, true);

View File

@ -35,7 +35,7 @@
* 256bit entropy. Same is true for "/dev/hwrng"
*
* 2) Before any key or parameter generation a "reseeding"
* is done. Some say reseeding is not neccessary, but
* is done. Some say reseeding is not necessary, but
* all say it does not harm.
*
* Entropy by Mouse and keyboard events

View File

@ -57,7 +57,7 @@ static void segv_handler_gui(int)
int uiwriter(UI *, UI_STRING *uis)
{
qWarning() << "ui-writer callled:" << UI_get0_action_string(uis)
qWarning() << "ui-writer called:" << UI_get0_action_string(uis)
<< UI_get0_output_string(uis);
return 1;
}

View File

@ -397,7 +397,7 @@ QString pki_base::getTypeString() const
{
QString t;
switch (pkiType) {
case asym_key: t = "Asymetric Key"; break;
case asym_key: t = "Asymmetric Key"; break;
case x509_req: t = "PKCS#10 Certificate request"; break;
case x509: t = "x.509 Certificate"; break;
case revocation: t = "Certificate revocation list"; break;
@ -413,7 +413,7 @@ void pki_base::print(BioByteArray &bba, enum print_opt opt) const
static const QStringList order = {
"Type", "Descriptor", "Subject", "Issuer", "Serial",
"Not Before", "Not After", "Verify Ok",
"Unstructured Name", "Challange Password",
"Unstructured Name", "Challenge Password",
"Last Update", "Next Update", "CA", "Self signed",
"Key", "Signature", "Extensions", "Comment", "Algorithm",
"Friendly Name"

View File

@ -358,7 +358,7 @@ EVP_PKEY *pki_evp::load_ssh_ed25519_privatekey(const QByteArray &ba,
if (d[0] || d[1] || d[2] || d[3] != 1)
return NULL;
content.remove(0, 4);
// Handle first occurance of the public key
// Handle first occurrence of the public key
pub = ssh_key_next_chunk(&content);
ssh_key_check_chunk(&pub, "ssh-ed25519");
pub = ssh_key_next_chunk(&pub);
@ -371,7 +371,7 @@ EVP_PKEY *pki_evp::load_ssh_ed25519_privatekey(const QByteArray &ba,
priv.remove(0, 8);
ssh_key_check_chunk(&priv, "ssh-ed25519");
// The first pubkey must match the second occurance
// The first pubkey must match the second occurrence
// in front of the private one
if (pub != ssh_key_next_chunk(&priv))
return NULL;

View File

@ -338,7 +338,7 @@ void pki_x509req::collect_properties(QMap<QString, QString> &prp) const
s = getAttribute(NID_pkcs9_challengePassword);
if (!s.isEmpty())
prp["Challange Password"] = s;
prp["Challenge Password"] = s;
pki_x509super::collect_properties(prp);
prp["Verify Ok"] = verify() ? "Yes" : "No";

View File

@ -11,7 +11,7 @@ test -z "$2" || commit="$2"
if test -z "$TVERSION"; then
echo "usage: $0 <VERSION> [commit]"
echo " if commit is ommitted, 'HEAD' is used"
echo " if commit is omitted, 'HEAD' is used"
exit 1
fi

View File

@ -10,7 +10,7 @@ test -z "$2" || commit="$2"
if test -z "$TVERSION"; then
echo "usage: $0 <VERSION> [commit]"
echo " if commit is ommitted, 'master' is used"
echo " if commit is omitted, 'master' is used"
exit 1
fi

View File

@ -800,15 +800,15 @@ void MainWindow::keyPressEvent(QKeyEvent *e)
QMainWindow::keyPressEvent(e);
return;
}
int siz = XcaApplication::tableFont.pointSize();
int size = XcaApplication::tableFont.pointSize();
switch (e->key()) {
case Qt::Key_Plus:
XcaApplication::tableFont.setPointSize(siz +1);
XcaApplication::tableFont.setPointSize(size +1);
break;
case Qt::Key_Minus:
if (siz > 4) {
XcaApplication::tableFont.setPointSize(siz -1);
if (size > 4) {
XcaApplication::tableFont.setPointSize(size -1);
}
break;
case Qt::Key_V:

View File

@ -161,7 +161,7 @@ NewX509::NewX509(QWidget *w) : XcaDetail(w)
nsImg->setPixmap(QPixmap(":nsImg"));
// are there any useable private keys ?
// are there any usable private keys ?
newKeyDone(NULL);
// any PKCS#10 requests to be used ?

View File

@ -152,14 +152,14 @@ void searchThread::cancelSearch()
bool searchThread::checkLib(QString file)
{
qint64 siz;
qint64 size;
int r = -1;
QFile qf(file);
siz = qf.size();
size = qf.size();
if (qf.open(QIODevice::ReadOnly)) {
uchar *p = qf.map(0, siz);
r = QByteArray::fromRawData((char*)p, siz)
uchar *p = qf.map(0, size);
r = QByteArray::fromRawData((char*)p, size)
.indexOf("C_GetFunctionList");
qf.unmap(p);
qf.close();

View File

@ -105,7 +105,7 @@ void XcaApplication::setupLanguage(const QLocale &lang)
for (const QString &dir : dirs) {
qDebug() << "Search QT translations for:" << lang << "in" << lang;
if (qtTr->load(lang, "qtbase", dir)) {
qDebug() << "Fount QT translations for:" << lang << "in" << lang;
qDebug() << "Found QT translations for:" << lang << "in" << lang;
break;
}
}