Branch: Tag:

1999-03-15

1999-03-15 19:56:45 by Niels Möller <nisse@lysator.liu.se>

make_selfsigned_dsa_certificate: Fixed the signature_algorithm field.

Rev: lib/modules/Tools.pmod/X509.pmod:1.3

61:    object validity = asn1_sequence( ({ make_time(now),    make_time(now + ttl) }) );    -  object signature_algorithm = Identifiers.dsa_sha_id; +  object signature_algorithm = asn1_sequence( ({ Identifiers.dsa_sha_id }) );       object keyinfo = asn1_sequence(    ({ /* Use an identifier with parameters */
76:       return asn1_sequence(    ({ tbs, -  asn1_sequence( ({ signature_algorithm }) ), +  signature_algorithm,    asn1_bit_string(dsa    ->sign_ssl(tbs->get_der())) }))->get_der();   }