Skip to content

Commit

Permalink
FIX: DER codec errors in some cases in verbose mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed Oct 23, 2018
1 parent 2b9b90d commit f3fb0a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mezz/codec-der.r
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ register-codec [
]
]
if verbose > 0 [
if empty? data [data: none]
if all [series? data empty? data] [data: none]
if tag-name = 'OBJECT_IDENTIFIER [
data: decode-OID/full data
]
Expand Down

0 comments on commit f3fb0a9

Please sign in to comment.