From c61252001b71cfd258ffa631809902b4497793d7 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Wed, 8 Mar 2000 12:44:10 +0000 Subject: [PATCH] Fix typo and make ca get the CA and request fields correct. --- apps/ca.c | 2 +- crypto/objects/objects.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/ca.c b/apps/ca.c index e22beda097..73df13fe8e 100644 --- a/apps/ca.c +++ b/apps/ca.c @@ -1662,7 +1662,7 @@ again2: } if (j < 0) { - BIO_printf(bio_err,"The %s field needed to be the same in the\nCA certificate (%s) and the request (%s)\n",cv->name,((str == NULL)?"NULL":(char *)str->data),((str2 == NULL)?"NULL":(char *)str2->data)); + BIO_printf(bio_err,"The %s field needed to be the same in the\nCA certificate (%s) and the request (%s)\n",cv->name,((str2 == NULL)?"NULL":(char *)str2->data),((str == NULL)?"NULL":(char *)str->data)); goto err; } } diff --git a/crypto/objects/objects.h b/crypto/objects/objects.h index d1a5ad2502..95c8a21568 100644 --- a/crypto/objects/objects.h +++ b/crypto/objects/objects.h @@ -949,7 +949,7 @@ extern "C" { #define NID_ad_ca_issuers 179 #define OBJ_ad_ca_issuers OBJ_id_ad,2L -#define SN_OSCP_sign "OCSPSigning" +#define SN_OCSP_sign "OCSPSigning" #define LN_OCSP_sign "OCSP Signing" #define NID_OCSP_sign 180 #define OBJ_OCSP_sign OBJ_id_kp,9L -- GitLab