typo
authorVolker Birk <vb@pep-project.org>
Tue, 17 May 2016 21:43:06 +0200
changeset 6481f83d8ad4f55
parent 647 e4cfa409ceef
child 649 46b19a439575
typo
asn.1/pEp.asn1
src/map_asn1.c
     1.1 --- a/asn.1/pEp.asn1	Tue May 17 21:18:45 2016 +0200
     1.2 +++ b/asn.1/pEp.asn1	Tue May 17 21:43:06 2016 +0200
     1.3 @@ -9,7 +9,7 @@
     1.4  major-version INTEGER ::= 1
     1.5  minor-version INTEGER ::= 0
     1.6  
     1.7 -ISO936-1 ::= PrintableString(FROM ("a".."z")) (SIZE(2))
     1.8 +ISO639-1 ::= PrintableString(FROM ("a".."z")) (SIZE(2))
     1.9  Hex ::= PrintableString(FROM ("A".."F") | FROM ("0".."9"))
    1.10  Hash ::= Hex(SIZE(1..128)) -- SHA1 to SHA512 in hex
    1.11  
    1.12 @@ -19,7 +19,7 @@
    1.13      user-id     UTF8String  (SIZE(1..1024)) OPTIONAL,
    1.14      username    UTF8String  (SIZE(1..1024)) OPTIONAL,
    1.15      comm-type   INTEGER     (0..255) OPTIONAL,
    1.16 -    lang        ISO936-1    DEFAULT "en"
    1.17 +    lang        ISO639-1    DEFAULT "en"
    1.18  }
    1.19  
    1.20  KeyList ::= SEQUENCE OF Hash
     2.1 --- a/src/map_asn1.c	Tue May 17 21:18:45 2016 +0200
     2.2 +++ b/src/map_asn1.c	Tue May 17 21:43:06 2016 +0200
     2.3 @@ -47,7 +47,7 @@
     2.4      }
     2.5  
     2.6      if (ident->lang[0]) {
     2.7 -        result->lang = OCTET_STRING_new_fromBuf(&asn_DEF_ISO936_1,
     2.8 +        result->lang = OCTET_STRING_new_fromBuf(&asn_DEF_ISO639_1,
     2.9                  ident->lang, 2);
    2.10          if (!result->lang)
    2.11              goto enomem;