@@ 2617,12 2617,12 @@ void load_ssl_configuration(mapping options, mixed ctx,
}
destruct (privs);
- part = msg->parts["RSA PRIVATE KEY"];
+ part = msg->parts["PRIVATE KEY"] || msg->parts["RSA PRIVATE KEY"];
if (!part || !(key = part->decoded_body()))
({ report_error, throw }) ("ssl3: Private key not found.\n");
- object rsa = Standards.PKCS.RSA.parse_private_key(key);
+ object rsa = Standards.PKCS.parse_private_key(key);
if (!rsa)
({ report_error, throw }) ("ssl3: Private key not valid.\n");
#if constant(Standards.PKCS.Certificate.check_cert_rsa)