X-Git-Url: https://www.bearssl.org/gitweb//home/git/?p=BearSSL;a=blobdiff_plain;f=src%2Fx509%2Fasn1.t0;h=c329514ad96f6bb1b68e05529374b845f3043b35;hp=ba59252632e9cfc85ee6ab9e6a7b3a9b21206689;hb=252dba914912e694d0e69754f0167060fc4d2ba6;hpb=05520e8eae3d8c6039e8bcde58741cf4ffb18f1d diff --git a/src/x509/asn1.t0 b/src/x509/asn1.t0 index ba59252..c329514 100644 --- a/src/x509/asn1.t0 +++ b/src/x509/asn1.t0 @@ -480,7 +480,7 @@ OID: id-at-commonName 2.5.4.3 \ 66 noncharacters, and also the surrogate range; this function does NOT \ check that the value is in the 0..10FFFF range. : valid-unicode? ( val -- bool ) - dup 0xFDD0 0xFEDF between? if drop 0 ret then + dup 0xFDD0 0xFDEF between? if drop 0 ret then dup 0xD800 0xDFFF between? if drop 0 ret then 0xFFFF and 0xFFFE < ;