Sha256: 488083b5b2b2cf4696e21207ecd5c1f453d367329b4ff8c77a175de895c159f2

Contents?: true

Size: 1.29 KB

Versions: 3

Compression:

Stored size: 1.29 KB

Contents

$! TPKCS7.COM  --  Tests pkcs7 keys
$
$	__arch := VAX
$	if f$getsyi("cpu") .ge. 128 then __arch := AXP
$	exe_dir := sys$disk:[-.'__arch'.exe.apps]
$
$	cmd := mcr 'exe_dir'openssl pkcs7
$
$	t := pkcs7-1.pem
$	if p1 .nes. "" then t = p1
$
$	write sys$output "testing PKCS7 conversions (2)"
$	if f$search("fff.*") .nes "" then delete fff.*;*
$	if f$search("ff.*") .nes "" then delete ff.*;*
$	if f$search("f.*") .nes "" then delete f.*;*
$	convert/fdl=sys$input: 't' fff.p
RECORD
	FORMAT STREAM_LF
$
$	write sys$output "p -> d"
$	'cmd' -in fff.p -inform p -outform d -out f.d
$	if $severity .ne. 1 then exit 3
$	write sys$output "p -> p"
$	'cmd' -in fff.p -inform p -outform p -out f.p
$	if $severity .ne. 1 then exit 3
$
$	write sys$output "d -> d"
$	'cmd' -in f.d -inform d -outform d -out ff.d1
$	if $severity .ne. 1 then exit 3
$	write sys$output "p -> d"
$	'cmd' -in f.p -inform p -outform d -out ff.d3
$	if $severity .ne. 1 then exit 3
$
$
$	write sys$output "d -> p"
$	'cmd' -in f.d -inform d -outform p -out ff.p1
$	if $severity .ne. 1 then exit 3
$	write sys$output "p -> p"
$	'cmd' -in f.p -inform p -outform p -out ff.p3
$	if $severity .ne. 1 then exit 3
$
$	backup/compare f.p ff.p1
$	if $severity .ne. 1 then exit 3
$	backup/compare f.p ff.p3
$	if $severity .ne. 1 then exit 3
$
$	delete f.*;*,ff.*;*,fff.*;*

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rhodes-1.4.2 lib/extensions/openssl/ext/openssl/test/tpkcs7d.com
rhodes-1.4.1 lib/extensions/openssl/ext/openssl/test/tpkcs7d.com
rhodes-1.4.0 lib/extensions/openssl/ext/openssl/test/tpkcs7d.com