Complete rewrite of the error code generation script. It now runs as a single
[openssl.git] / crypto / pkcs7 / verify.c
index 38b89b508072c6969f9a5a5918668db7a7f4b513..71a67df3d457c2e939f6580080b5097f0db9a3cf 100644 (file)
  * [including the GNU Public Licence.]
  */
 #include <stdio.h>
-#include "asn1.h"
-#include "bio.h"
-#include "x509.h"
-#include "pem.h"
+#include <openssl/asn1.h>
+#include <openssl/bio.h>
+#include <openssl/x509.h>
+#include <openssl/pem.h>
 
 int verify_callback(int ok, X509_STORE_CTX *ctx);
 
@@ -204,9 +204,7 @@ err:
        }
 
 /* should be X509 * but we can just have them as char *. */
-int verify_callback(ok, ctx)
-int ok;
-X509_STORE_CTX *ctx;
+int verify_callback(int ok, X509_STORE_CTX *ctx)
        {
        char buf[256];
        X509 *err_cert;