mirror of
https://github.com/openssl/openssl.git
synced 2024-12-21 06:09:35 +08:00
7d2c0a4b1f
Update the `x509_req_test` to ensure ANSI compatibility. The integrated certificate string was too long, so the PEM certificate has been moved to `certs/x509-req-detect-invalid-version.pem`. The test have been updated to load this certificate from the file on disk. Reviewed-by: Neil Horman <nhorman@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/24677)
19 lines
555 B
Raku
19 lines
555 B
Raku
#! /usr/bin/env perl
|
|
# Copyright 2024 The OpenSSL Project Authors. All Rights Reserved.
|
|
#
|
|
# Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
# this file except in compliance with the License. You can obtain a copy
|
|
# in the file LICENSE in the source distribution or at
|
|
# https://www.openssl.org/source/license.html
|
|
|
|
use OpenSSL::Test::Utils;
|
|
use OpenSSL::Test qw/:DEFAULT srctop_dir/;
|
|
|
|
BEGIN {
|
|
setup("test_x509_req");
|
|
}
|
|
|
|
plan tests => 1;
|
|
|
|
ok(run(test(["x509_req_test", srctop_dir("test", "certs")])), "running x509_req_test");
|