File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -1070,17 +1070,17 @@ def encrypt_cert_from_item(item):
1070
1070
[pefim , ds ])
1071
1071
if len (_elem ) == 1 :
1072
1072
_encrypt_cert = _elem [0 ].x509_data [0 ].x509_certificate .text
1073
- else :
1074
- certs = cert_from_instance (item )
1075
- if len (certs ) > 0 :
1076
- _encrypt_cert = certs [0 ]
1073
+ # else:
1074
+ # certs = cert_from_instance(item)
1075
+ # if len(certs) > 0:
1076
+ # _encrypt_cert = certs[0]
1077
1077
except Exception :
1078
1078
pass
1079
1079
1080
- if _encrypt_cert is None :
1081
- certs = cert_from_instance (item )
1082
- if len (certs ) > 0 :
1083
- _encrypt_cert = certs [0 ]
1080
+ # if _encrypt_cert is None:
1081
+ # certs = cert_from_instance(item)
1082
+ # if len(certs) > 0:
1083
+ # _encrypt_cert = certs[0]
1084
1084
1085
1085
if _encrypt_cert is not None :
1086
1086
if _encrypt_cert .find ("-----BEGIN CERTIFICATE-----\n " ) == - 1 :
You can’t perform that action at this time.
0 commit comments