From b015091d30bf205f0296fd9e23e4ce88aeacf55e Mon Sep 17 00:00:00 2001 From: chris2511 Date: Fri, 27 Jun 2003 15:26:05 +0000 Subject: [PATCH] *** empty log message *** --- view/CertView.cpp | 3 +-- widgets/NewX509.cpp | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/view/CertView.cpp b/view/CertView.cpp index 11b4f285..4b6f5e73 100644 --- a/view/CertView.cpp +++ b/view/CertView.cpp @@ -141,10 +141,9 @@ void CertView::newCert(NewX509 *dlg) // Step 2 - select Signing if (dlg->foreignSignRB->isChecked()) { signcert = dlg->getSelectedSigner(); + if (Error(signcert)) return; serial = signcert->getIncCaSerial(); signkey = signcert->getRefKey(); - // search for serial in database - } else { signkey = clientkey; diff --git a/widgets/NewX509.cpp b/widgets/NewX509.cpp index 09bf5aa5..0eda7ab3 100644 --- a/widgets/NewX509.cpp +++ b/widgets/NewX509.cpp @@ -68,7 +68,7 @@ void NewX509::initCtx() { X509V3_set_ctx(&ext_ctx, getSelectedSigner()->getCert() , NULL, NULL, NULL, 0); - X509V3_set_ctx_nodb(&ext_ctx); + X509V3_set_ctx_nodb((&ext_ctx)); } int NewX509::eku_nid[EKUN_CNT] = {