asm workaround for SuSE Linux
[openssl.git] / apps / ca.c
index 272b0e32bc48b8e3189d84aa1b0690c4e8916bf3..73df13fe8e2a68a6cb30810117f0074d2073a5c2 100644 (file)
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -603,7 +603,6 @@ bad:
                        perror(outdir);
                        goto err;
                        }
-#endif
 
                if (stat(outdir,&sb) != 0)
                        {
@@ -618,6 +617,7 @@ bad:
                        perror(outdir);
                        goto err;
                        }
+#endif
 #endif
                }
 
@@ -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;
                                        }
                                }