mirror of
https://github.com/openssl/openssl.git
synced 2024-12-21 06:09:35 +08:00
7e765f46a6
Certificate Management Protocol (CMP, RFC 4210) extension to OpenSSL Also includes CRMF (RFC 4211) and HTTP transfer (RFC 6712). Adds the CMP and CRMF API to libcrypto and the "cmp" app to the CLI. Adds extensive documentation and tests. Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com> (Merged from https://github.com/openssl/openssl/pull/11300)
28 lines
847 B
Perl
28 lines
847 B
Perl
#! /usr/bin/env perl
|
|
# Copyright 2007-2019 The OpenSSL Project Authors. All Rights Reserved.
|
|
# Copyright Nokia 2007-2019
|
|
# Copyright Siemens AG 2015-2019
|
|
#
|
|
# 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 strict;
|
|
use OpenSSL::Test qw/:DEFAULT data_file/;
|
|
use OpenSSL::Test::Utils;
|
|
|
|
setup("test_cmp_client");
|
|
|
|
plan skip_all => "This test is not supported in a no-cmp build"
|
|
if disabled("cmp");
|
|
|
|
plan tests => 1;
|
|
|
|
ok(run(test(["cmp_client_test",
|
|
data_file("server.key"),
|
|
data_file("server.crt"),
|
|
data_file("client.key"),
|
|
data_file("client.crt"),
|
|
data_file("client.csr")])));
|