From b94f7768b4e98fc64ec3f31b439a85adeae893a2 Mon Sep 17 00:00:00 2001 From: chris Date: Sun, 14 Jul 2002 23:23:27 +0000 Subject: [PATCH] bug in V3 extensions removed Version++ --- MainWindowX509.cpp | 13 ++++++++----- Makefile | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/MainWindowX509.cpp b/MainWindowX509.cpp index 0c78f1cd..c827e206 100644 --- a/MainWindowX509.cpp +++ b/MainWindowX509.cpp @@ -99,24 +99,26 @@ void MainWindow::newCert() } cert->addV3ext(NID_basic_constraints, constraints); cerr << "B-Const:" << constraints << endl; + // Subject Key identifier if (dlg3->subKey->isChecked()) { string subkey="hash"; cert->addV3ext(NID_subject_key_identifier, subkey); cerr << subkey <authKey->isChecked()) { string authkey="keyid,issuer:always"; cert->addV3ext(NID_authority_key_identifier, authkey); cerr << authkey <keyUsage->item(i))) { if (item->selected()){ if (keyuse.length() > 0) keyuse +=", "; @@ -126,9 +128,10 @@ void MainWindow::newCert() } if (keyuse.length() > 0) - if (dlg3->kuCritical->isChecked()) keyuse = "critical," + keyuse; - cert->addV3ext(NID_key_usage, keyuse); - cerr << "KeyUsage:" <kuCritical->isChecked()) keyuse1 = "critical," + keyuse; + cert->addV3ext(NID_key_usage, keyuse1); + cerr << "KeyUsage:" <sign(signkey); diff --git a/Makefile b/Makefile index ca3d2221..5de384e1 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION=0.2.0 +VERSION=0.2.1 TAG=$(shell echo "V.$(VERSION)" |sed "s/\./_/g" ) TARGET=xca-$(VERSION)