|
|
@ -9,6 +9,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
#include <openssl/evp.h> |
|
|
|
#include <openssl/evp.h> |
|
|
|
#include <openssl/pem.h> |
|
|
|
#include <openssl/pem.h> |
|
|
|
|
|
|
|
#include <openssl/ssl.h> |
|
|
|
#include <openssl/x509.h> |
|
|
|
#include <openssl/x509.h> |
|
|
|
#include <openssl/x509v3.h> |
|
|
|
#include <openssl/x509v3.h> |
|
|
|
|
|
|
|
|
|
|
@ -229,6 +230,8 @@ int do_verify(int argc, char *argv[]) |
|
|
|
return -1; |
|
|
|
return -1; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SSL_load_error_strings(); |
|
|
|
|
|
|
|
SSL_library_init(); |
|
|
|
OpenSSL_add_all_algorithms(); |
|
|
|
OpenSSL_add_all_algorithms(); |
|
|
|
|
|
|
|
|
|
|
|
if (verify_all(&count, &total, args.certs, args.image) < 0) { |
|
|
|
if (verify_all(&count, &total, args.certs, args.image) < 0) { |
|
|
|