From f629b00d30a56a00b042598a42d7c9d4e700f4c7 Mon Sep 17 00:00:00 2001 From: Lionello Lunesu Date: Mon, 7 Nov 2016 19:44:01 +0800 Subject: [PATCH] Fix readCertPEMWithoutRSAInit for X509 certs without RSA pubkey --- x509-1.1.js | 84 +++++++++++++++++++++++++++-------------------------- 1 file changed, 43 insertions(+), 41 deletions(-) diff --git a/x509-1.1.js b/x509-1.1.js index d61aec44..3244d1c2 100644 --- a/x509-1.1.js +++ b/x509-1.1.js @@ -1,6 +1,6 @@ /*! x509-1.1.9.js (c) 2012-2016 Kenji Urushima | kjur.github.com/jsrsasign/license */ -/* +/* * x509.js - X509 class to read subject public key from certificate. * * Copyright (c) 2010-2016 Kenji Urushima (kenji.urushima@gmail.com) @@ -8,7 +8,7 @@ * This software is licensed under the terms of the MIT License. * http://kjur.github.com/jsrsasign/license * - * The above copyright and license notice shall be + * The above copyright and license notice shall be * included in all copies or substantial portions of the Software. */ @@ -45,7 +45,7 @@ *
  • get basic fields, extensions, signature algorithms and signature values
  • *
  • read PEM certificate
  • * - * + * *