mirror of
https://github.com/chris2511/xca.git
synced 2026-09-12 19:51:05 +05:00
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:
parent
d8283d8ab5
commit
1adcceaa66
@ -8,7 +8,6 @@
|
||||
#include <QDir>
|
||||
#include <QDebug>
|
||||
#include "widgets/XcaWarning.h"
|
||||
#include "widgets/OpenDb.h"
|
||||
#include "widgets/PwDialog.h"
|
||||
|
||||
#include "exception.h"
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user