Changeset 0a16b28 for fedd/federation


Ignore:
Timestamp:
Aug 12, 2012 4:38:33 PM (12 years ago)
Author:
ABDULLA ALWABEL <abdullaalwabel@…>
Branches:
compt_changes
Children:
7bb03f0
Parents:
adf8517
Message:

Changes for compatiblity with openssl1.x.x

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/util.py

    radf8517 r0a16b28  
    302302
    303303def abac_pem_type(cert):
    304     key_re = re.compile('\s*-----BEGIN RSA PRIVATE KEY-----$')
     304    key_re = re.compile('\s*-----BEGIN PRIVATE KEY-----$')
    305305    cert_re = re.compile('\s*-----BEGIN CERTIFICATE-----$')
    306306    type = None
     
    359359    # Initialize the diversions
    360360    divs = [diversion(s, e, fn=pfn, fd=pfd ) for s, e, pfn, pfd in (
    361         ('\s*-----BEGIN RSA PRIVATE KEY-----$',
    362             '\s*-----END RSA PRIVATE KEY-----$',
     361        ('\s*-----BEGIN PRIVATE KEY-----$',
     362            '\s*-----END PRIVATE KEY-----$',
    363363            keyfile, kf),
    364364        ('\s*-----BEGIN CERTIFICATE-----$',
Note: See TracChangeset for help on using the changeset viewer.