mirror of
https://github.com/chris2511/xca.git
synced 2026-09-12 19:51:05 +05:00
remove all usages of QT3 backward lib
[ xca-Feature Requests-1692800 ]
This commit is contained in:
parent
9546623cd1
commit
b976c7d136
@ -1,6 +1,12 @@
|
||||
|
||||
* remove all usages of QT3 backward lib
|
||||
[ xca-Feature Requests-1692800 ]
|
||||
|
||||
xca 0.6.0
|
||||
|
||||
* set initial sorting to ascending order
|
||||
* add RFC2253 representation of subject and issuer
|
||||
* to copy&paste
|
||||
to copy & paste
|
||||
* fix dialog sizes for long DNs
|
||||
* move hash algo into signer box [ 1656260 ]
|
||||
* make QA serial a compile time option
|
||||
|
||||
@ -233,7 +233,6 @@ int db::set(const unsigned char *p, int len, int ver, enum pki_type type,
|
||||
first();
|
||||
ret = find(type, name);
|
||||
if (ret == 1) {
|
||||
printf("## Name not found -> add\n");
|
||||
return add(p, len, ver, type, name);
|
||||
}
|
||||
if (ret == 0) {
|
||||
|
||||
@ -195,8 +195,8 @@ QString extList::getHtml(const QString &sep)
|
||||
{
|
||||
x509v3ext e;
|
||||
QStringList s;
|
||||
for (int i=0; i< count(); i++)
|
||||
s << operator[](i).getHtml();
|
||||
for (int i=0; i< size(); i++)
|
||||
s << at(i).getHtml();
|
||||
QString a = s.join(sep);
|
||||
return a;
|
||||
}
|
||||
@ -204,11 +204,9 @@ QString extList::getHtml(const QString &sep)
|
||||
int extList::delByNid(int nid)
|
||||
{
|
||||
int removed=0;
|
||||
extList::Iterator it;
|
||||
for( it = begin(); it != end(); ++it ) {
|
||||
if ((*it).nid() == nid) {
|
||||
remove(it);
|
||||
it = begin();
|
||||
for(int i = 0; i< size(); i++) {
|
||||
if (at(i).nid() == nid) {
|
||||
removeAt(i);
|
||||
removed=1;
|
||||
}
|
||||
}
|
||||
@ -218,14 +216,11 @@ int extList::delByNid(int nid)
|
||||
int extList::delInvalid(void)
|
||||
{
|
||||
int removed=0;
|
||||
extList::Iterator it;
|
||||
for( it = begin(); it != end(); ) {
|
||||
if (!(*it).isValid()) {
|
||||
remove(it);
|
||||
it = begin();
|
||||
for(int i = 0; i<size(); i++) {
|
||||
if (!at(i).isValid()) {
|
||||
removeAt(i);
|
||||
removed=1;
|
||||
} else {
|
||||
++it;
|
||||
i--;
|
||||
}
|
||||
}
|
||||
return removed;
|
||||
|
||||
@ -49,7 +49,7 @@
|
||||
#ifndef X509V3EXT_H
|
||||
#define X509V3EXT_H
|
||||
|
||||
#include <Qt/q3valuelist.h>
|
||||
#include <Qt/qlist.h>
|
||||
#include <openssl/x509.h>
|
||||
#include <openssl/x509v3.h>
|
||||
|
||||
@ -78,7 +78,7 @@ class x509v3ext
|
||||
void *d2i();
|
||||
};
|
||||
|
||||
class extList : public Q3ValueList<x509v3ext>
|
||||
class extList : public QList<x509v3ext>
|
||||
{
|
||||
public:
|
||||
void setStack(STACK_OF(X509_EXTENSION) *st);
|
||||
|
||||
@ -329,7 +329,6 @@
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
|
||||
<tabstops>
|
||||
<tabstop>filename</tabstop>
|
||||
<tabstop>fileBut</tabstop>
|
||||
|
||||
@ -249,7 +249,6 @@ p, li { white-space: pre-wrap; }
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
|
||||
<tabstops>
|
||||
<tabstop>filename</tabstop>
|
||||
<tabstop>fileBut</tabstop>
|
||||
|
||||
@ -86,7 +86,6 @@
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
|
||||
<resources/>
|
||||
<connections>
|
||||
<connection>
|
||||
|
||||
@ -240,7 +240,6 @@
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
|
||||
<tabstops>
|
||||
<tabstop>keyDesc</tabstop>
|
||||
<tabstop>keyLength</tabstop>
|
||||
|
||||
@ -191,7 +191,6 @@
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
|
||||
<resources/>
|
||||
<connections>
|
||||
<connection>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user