Fix typo and make ca get the CA and request fields correct.
authorDr. Stephen Henson <steve@openssl.org>
Wed, 8 Mar 2000 12:44:10 +0000 (12:44 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 8 Mar 2000 12:44:10 +0000 (12:44 +0000)
apps/ca.c
crypto/objects/objects.h

index e22beda..73df13f 100644 (file)
--- 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;
                                        }
                                }
index d1a5ad2..95c8a21 100644 (file)
@@ -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