blob: 863024dbd718bd7cf36ede17eef82faf45c75b18 [file] [log] [blame]
Rich Salz596d6b72016-04-22 07:21:51 -04001#! /usr/bin/env perl
2# Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved.
3#
4# Licensed under the OpenSSL license (the "License"). You may not use
5# this file except in compliance with the License. You can obtain a copy
6# in the file LICENSE in the source distribution or at
7# https://www.openssl.org/source/license.html
8
Richard Levitte4650de32015-04-17 20:15:22 +02009
10use strict;
11use warnings;
12
13use File::Spec;
Richard Levitte42e0ccd2016-01-30 01:05:33 +010014use OpenSSL::Test qw/:DEFAULT srctop_file/;
Richard Levitte01ede842017-02-09 10:30:44 +010015use OpenSSL::Test::Utils;
Richard Levitte4650de32015-04-17 20:15:22 +020016
17setup("test_sid");
18
Richard Levitte68a55f32017-02-06 17:49:41 +010019plan skip_all => 'test_sid needs EC to run'
20 if disabled('ec');
21
Richard Levitte4650de32015-04-17 20:15:22 +020022plan tests => 2;
23
Richard Levitte42e0ccd2016-01-30 01:05:33 +010024require_ok(srctop_file('test','recipes','tconversion.pl'));
Richard Levitte4650de32015-04-17 20:15:22 +020025
26subtest 'sid conversions' => sub {
Richard Levitte42e0ccd2016-01-30 01:05:33 +010027 tconversion("sid", srctop_file("test","testsid.pem"), "sess_id");
Richard Levitte4650de32015-04-17 20:15:22 +020028};