Skip to content

Commit 732d703

Browse files
committed
Remove 'RSA' from RSA public key headers
1 parent 246dbb7 commit 732d703

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/jruby/ext/openssl/x509store/PEMInputOutput.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -783,10 +783,10 @@ public static void writeDSAPublicKey(Writer _out, DSAPublicKey obj) throws IOExc
783783
public static void writeRSAPublicKey(Writer _out, RSAPublicKey obj) throws IOException {
784784
BufferedWriter out = makeBuffered(_out);
785785
byte[] encoding = getEncoded(obj);
786-
out.write(BEF_G + PEM_STRING_RSA_PUBLIC + AFT);
786+
out.write(BEF_G + PEM_STRING_PUBLIC + AFT);
787787
out.newLine();
788788
writeEncoded(out, encoding);
789-
out.write(BEF_E + PEM_STRING_RSA_PUBLIC + AFT);
789+
out.write(BEF_E + PEM_STRING_PUBLIC + AFT);
790790
out.newLine();
791791
out.flush();
792792
}

0 commit comments

Comments
 (0)