removed unneed line that reset the requesting_host
authorAdrian Likins <alikins@redhat.com>
Tue, 18 Nov 2008 15:56:37 +0000 (10:56 -0500)
committerAdrian Likins <alikins@redhat.com>
Tue, 18 Nov 2008 15:56:37 +0000 (10:56 -0500)
certmaster/certmaster.py

index e3abf39..e4a3d17 100755 (executable)
@@ -234,7 +234,6 @@ class CertMaster(object):
             self._run_triggers(requesting_host,'/var/lib/certmaster/triggers/sign/pre/*')
 
 
-        requesting_host = self._sanitize_cn(csrreq.get_subject().CN)        
         certfile = '%s/%s.cert' % (self.cfg.certroot, requesting_host)
         self.logger.info("Signing for csr %s requested" % certfile)
         thiscert = certs.create_slave_certificate(csrreq, self.cakey, self.cacert, self.cfg.cadir)