index b893c60b6d7101b798ba9fa59e01cedfd1d531dc..807930531a516f8ccac1552f17974d322dabca5f 100644 (file)
var $error;
/* Initialize all vars*/
- function __construct()
+ function certificate()
{
$this->data= "";
$this->type= false;
/* If cert is loaded correctly and is PEM now, we could read some data out of it */
if(count($this->info()) <=1) {
$this->certificate();
- $this->error = _("Cannot load certificate - only PEM/DER is supported!");
+ $this->error = _("Cannot load certificate: only PEM and DER are supported!");
/* Reset*/
return(false);
}