diff options
author | Dr. Stephen Henson <steve@openssl.org> | 1999-06-22 13:33:22 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 1999-06-22 13:33:22 +0000 |
commit | 170afce58d5c9ffc399892e19a52c5559e2db801 (patch) | |
tree | 1145027ab7b0ec7727362eec7aa49f08a495f0b2 /util/mkerr.pl | |
parent | dbd665c2104750300c387ebf6a305f6021994a97 (diff) | |
download | openssl-170afce58d5c9ffc399892e19a52c5559e2db801.tar.gz |
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.pl | 12 |
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 |