mirror of
https://github.com/openssl/openssl.git
synced 2024-12-15 06:01:37 +08:00
ac44deaf00
Adding extensions is fragile, with the TLSEXT_TYPE entry needing to be located at TLSEXT_IDX in the array. This adds a test to ensure extensions are in the correct order. Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19269)
16 lines
485 B
Perl
16 lines
485 B
Perl
#! /usr/bin/env perl
|
|
# Copyright 2022 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 strict;
|
|
use OpenSSL::Test;
|
|
use OpenSSL::Test::Simple;
|
|
|
|
setup("test_internal_exts");
|
|
|
|
simple_test("test_internal_exts", "ext_internal_test");
|