X-Git-Url: https://bearssl.org/gitweb//home/git/?p=BearSSL;a=blobdiff_plain;f=src%2Fx509%2Fasn1.t0;h=ba59252632e9cfc85ee6ab9e6a7b3a9b21206689;hp=6732f9d863268bfd74057f0f1ee211f5a916a83b;hb=05520e8eae3d8c6039e8bcde58741cf4ffb18f1d;hpb=8e86598b33f9df81d1f77d6cc32568d9ae119d67 diff --git a/src/x509/asn1.t0 b/src/x509/asn1.t0 index 6732f9d..ba59252 100644 --- a/src/x509/asn1.t0 +++ b/src/x509/asn1.t0 @@ -278,7 +278,7 @@ cc: get32 ( addr -- val ) { 0x80 - dup ifnot ERR_X509_INDEFINITE_LENGTH fail then \ Masking out bit 7, this yields the number of bytes over which - \ the value is encoded. Since the total certicate length must + \ the value is encoded. Since the total certificate length must \ fit over 3 bytes (this is a consequence of SSL/TLS message \ format), we can reject big lengths and keep the length in a \ single integer.