Drop OpenSSL backward comatibility for NID_tlsfeature

it was not defined for OpenSSL < 1.1.0
which is not supported anymore anyway.
This commit is contained in:
Christian Hohnstädt 2021-05-16 12:15:05 +02:00
parent d8283d8ab5
commit 1adcceaa66
4 changed files with 0 additions and 12 deletions

View File

@ -8,7 +8,6 @@
#include <QDir>
#include <QDebug>
#include "widgets/XcaWarning.h"
#include "widgets/OpenDb.h"
#include "widgets/PwDialog.h"
#include "exception.h"

View File

@ -18,10 +18,6 @@
#include "widgets/XcaWarning.h"
#include "widgets/MainWindow.h"
#ifndef NID_tlsfeature
int NID_tlsfeature = NID_undef;
#endif
int first_additional_oid = 0;
NIDlist extkeyuse_nid;

View File

@ -14,9 +14,6 @@ class QString;
typedef QList<int> NIDlist;
#ifndef NID_tlsfeature
extern int NID_tlsfeature;
#endif
extern NIDlist extkeyuse_nid;
extern NIDlist distname_nid;

View File

@ -53,11 +53,7 @@ x509v3ext NewX509::getOCSPstaple()
x509v3ext ext;
if (OCSPstaple->isChecked())
ext.create(NID_tlsfeature,
#ifdef NID_tlsfeature
"status_request",
#else
"DER:30:03:02:01:05",
#endif
&ext_ctx);
return ext;
}