aboutsummaryrefslogtreecommitdiff
path: root/crypto/openssl/apps/tkca
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2004-03-17 12:11:09 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2004-03-17 12:11:09 +0000
commite787e57d2fcf53c0141dcfdc5974bd8a706f0308 (patch)
tree086fb6b3d3e003caef8aabe591caecaedc86210a /crypto/openssl/apps/tkca
parent81ac585294418460a598ae2c6d3eeaf0d993b18a (diff)
This commit was manufactured by cvs2svn to create tagvendor/openssl/0.9.7c-patch1
'openssl-vendor-crypto-v0_9_7c_patch1'.
Notes
Notes: svn path=/vendor-crypto/openssl/dist/; revision=127114 svn path=/vendor-crypto/openssl/0.9.7c-patch1/; revision=127116; tag=vendor/openssl/0.9.7c-patch1
Diffstat (limited to 'crypto/openssl/apps/tkca')
-rw-r--r--crypto/openssl/apps/tkca66
1 files changed, 0 insertions, 66 deletions
diff --git a/crypto/openssl/apps/tkca b/crypto/openssl/apps/tkca
deleted file mode 100644
index bdaf21606afe..000000000000
--- a/crypto/openssl/apps/tkca
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/usr/local/bin/perl5
-#
-# This is only something I'm playing with, it does not work :-)
-#
-
-use Tk;
-
-my $main=MainWindow->new();
-my $f=$main->Frame(-relief => "ridge", -borderwidth => 2);
-$f->pack(-fill => 'x');
-
-my $ff=$f->Frame;
-$ff->pack(-fill => 'x');
-my $l=$ff->Label(-text => "TkCA - SSLeay",
- -relief => "ridge", -borderwidth => 2);
-$l->pack(-fill => 'x', -ipady => 5);
-
-my $l=$ff->Button(-text => "Certify");
-$l->pack(-fill => 'x', -ipady => 5);
-
-my $l=$ff->Button(-text => "Review");
-$l->pack(-fill => 'x', -ipady => 5);
-
-my $l=$ff->Button(-text => "Revoke");
-$l->pack(-fill => 'x', -ipady => 5);
-
-my $l=$ff->Button(-text => "Generate CRL");
-$l->pack(-fill => 'x', -ipady => 5);
-
-my($db)=&load_db("demoCA/index.txt");
-
-MainLoop;
-
-sub load_db
- {
- my(%ret);
- my($file)=@_;
- my(*IN);
- my(%db_serial,%db_name,@f,@db_s);
-
- $ret{'serial'}=\%db_serial;
- $ret{'name'}=\%db_name;
-
- open(IN,"<$file") || die "unable to open $file:$!\n";
- while (<IN>)
- {
- chop;
- s/([^\\])\t/\1\t\t/g;
- my(@f)=split(/\t\t/);
- die "wrong number of fields in $file, line $.\n"
- if ($#f != 5);
-
- my(%f);
- $f{'type'}=$f[0];
- $f{'exp'}=$f[1];
- $f{'rev'}=$f[2];
- $f{'serial'}=$f[3];
- $f{'file'}=$f[4];
- $f{'name'}=$f[5];
- die "serial number $f{'serial'} appears twice (line $.)\n"
- if (defined($db{$f{'serial'}}))
- $db_serial{$f{'serial'}}=\%f;
- $db_name{$f{'name'}}.=$f{'serial'}." ";
- }
- return \%ret;
- }