Skip to content

Commit 305ed83

Browse files
committed
FEAT: register %.jks file extension with DER codec
1 parent 599e94f commit 305ed83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mezz/codec-der.r

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ REBOL [
1919
register-codec [
2020
name: 'DER
2121
title: "Distinguished Encoding Rules"
22-
suffixes: [%.p12 %.pfx %.cer %.der]
22+
suffixes: [%.p12 %.pfx %.cer %.der %.jks]
2323
decode: function[data [binary!]][
2424
if verbose > 0 [
2525
print ["^/^[[1;32mDecode DER data^[[m (^[[1m" length? data "^[[mbytes )"]
@@ -112,7 +112,7 @@ register-codec [
112112
;]
113113
BIT_STRING [
114114
if data/1 = 0 [data: next data]
115-
;data: enbase/base data 2
115+
;data: enbase data 2
116116
]
117117
INTEGER [
118118
if data/1 = 0 [data: next data]

0 commit comments

Comments
 (0)