~ubuntu-branches/ubuntu/trusty/ca-certificates/trusty-proposed

« back to all changes in this revision

Viewing changes to mozilla/certdata2pem.rb

  • Committer: Bazaar Package Importer
  • Author(s): Fumitoshi UKAI
  • Date: 2004-08-09 03:23:20 UTC
  • mfrom: (1.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20040809032320-29vpp5g9f4xroy2g
Tags: 20040809
previous version was not fixed Bug#255933 correctly.
update-ca-certificates now remove symlinks of deselected entries 
in ca-certificates.conf
closes: Bug#255933

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
    label,type,val = line.split(' ',3)
9
9
    val.sub!(/^"/, "")
10
10
    val.sub!(/"$/, "")
11
 
    fname = val.gsub(/\//,"_").gsub(/\s+/, "_").gsub(/[()]/, "=") + ".pem"
 
11
    fname = val.gsub(/\//,"_").gsub(/\s+/, "_").gsub(/[()]/, "=").gsub(/,/, "_") + ".crt"
12
12
    next
13
13
  end
14
14
  if line =~ /CKA_VALUE MULTILINE_OCTAL/