summaryrefslogtreecommitdiffstats
path: root/util/mkerr.pl
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-06-22 13:33:22 +0000
committerDr. Stephen Henson <steve@openssl.org>1999-06-22 13:33:22 +0000
commit170afce58d5c9ffc399892e19a52c5559e2db801 (patch)
tree1145027ab7b0ec7727362eec7aa49f08a495f0b2 /util/mkerr.pl
parentdbd665c2104750300c387ebf6a305f6021994a97 (diff)
New function PKCS7_signatureVerify to allow the signing certificate to
be explicitly stated with PKCS#7 verify. Also fix for util/mkerr.pl: if the -nostatic option is being used this will be for an external library so the autogenerated C file should include the header file as: #include "any/path/to/header.h" rather than the internal library form: #include <openssl/header.h>
Diffstat (limited to 'util/mkerr.pl')
-rw-r--r--util/mkerr.pl12
1 files changed, 9 insertions, 3 deletions
diff --git a/util/mkerr.pl b/util/mkerr.pl
index 60a3028bc6..4b3bccb13e 100644
--- a/util/mkerr.pl
+++ b/util/mkerr.pl
@@ -284,8 +284,14 @@ EOF
# Rewrite the C source file containing the error details.
- $hfile =~ /([^\/]+)$/;
- my $hincf = $1;
+ my $hincf;
+ if($static) {
+ $hfile =~ /([^\/]+)$/;
+ $hincf = "<openssl/$1>";
+ } else {
+ $hincf = "\"$hfile\"";
+ }
+
open (OUT,">$cfile") || die "Can't open $cfile for writing";
@@ -351,7 +357,7 @@ EOF
#include <stdio.h>
#include <openssl/err.h>
-#include <openssl/$hincf>
+#include $hincf
/* BEGIN ERROR CODES */
#ifndef NO_ERR