Skip to main content
  • Home
  • login
  • Browse the archive

    swh mirror partner logo
swh logo
SoftwareHeritage
Software
Heritage
Mirror
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

  • c48a1dc
  • /
  • recipes
  • /
  • 70-test_verify_extra.t
Raw File
Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
content badge Iframe embedding
swh:1:cnt:8c213e8a2f67659d94d8578e50b6a9dbded39264
directory badge Iframe embedding
swh:1:dir:a88244908084fc5b39e426376a91334a2eed4a07
70-test_verify_extra.t
#! /usr/bin/perl

use OpenSSL::Test qw/:DEFAULT srctop_file/;

setup("test_verify_extra");

plan tests => 1;

ok(run(test(["verify_extra_test",
             srctop_file("test", "certs", "roots.pem"),
             srctop_file("test", "certs", "untrusted.pem"),
             srctop_file("test", "certs", "bad.pem")])));

ENEA — Copyright (C), ENEA. License: GNU AGPLv3+.
Legal notes  ::  JavaScript license information ::  Web API

back to top