Changeset 3991 for branches/2.2.0.1/security/classes/funcoes_auxiliares.php
- Timestamp:
- 04/12/11 11:01:29 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.0.1/security/classes/funcoes_auxiliares.php
r3563 r3991 151 151 } 152 152 153 153 function troca_espaco_por_mais($pem_data) 154 { 155 $begin = "CERTIFICATE-----"; 156 $end = "-----END"; 157 $aux = substr($pem_data, strpos($pem_data, $begin)+strlen($begin)); 158 $aux = substr($aux, 0, strpos($aux, $end)); 159 $aux = strtr($aux,' ','+'); 160 $aux = '-----BEGIN CERTIFICATE-----'.$aux.'-----END CERTIFICATE-----'; 161 return $aux; 162 } 154 163 function verificaopenssl() 155 164 {
Note: See TracChangeset
for help on using the changeset viewer.