Loading CHANGES +3 −0 Original line number Original line Diff line number Diff line Loading @@ -12,6 +12,9 @@ *) applies to 0.9.6a/0.9.6b/0.9.6c and 0.9.7 *) applies to 0.9.6a/0.9.6b/0.9.6c and 0.9.7 +) applies to 0.9.7 only +) applies to 0.9.7 only +) Change ASN1_GENERALIZEDTIME_check() to allow fractional seconds. [Steve Henson] +) Change mkdef.pl to sort symbols that get the same entry number, +) Change mkdef.pl to sort symbols that get the same entry number, and make sure the automatically generated functions ERR_load_* and make sure the automatically generated functions ERR_load_* become part of libeay.num as well. become part of libeay.num as well. Loading crypto/asn1/a_gentm.c +13 −0 Original line number Original line Diff line number Diff line Loading @@ -146,6 +146,19 @@ int ASN1_GENERALIZEDTIME_check(ASN1_GENERALIZEDTIME *d) if ((n < min[i]) || (n > max[i])) goto err; if ((n < min[i]) || (n > max[i])) goto err; } } /* Optional fractional seconds: decimal point followed by one * or more digits. */ if (a[o] == '.') { if (++o > l) goto err; i = o; while ((a[o] >= '0') && (a[o] <= '9') && (o <= l)) o++; /* Must have at least one digit after decimal point */ if (i == o) goto err; } if (a[o] == 'Z') if (a[o] == 'Z') o++; o++; else if ((a[o] == '+') || (a[o] == '-')) else if ((a[o] == '+') || (a[o] == '-')) Loading Loading
CHANGES +3 −0 Original line number Original line Diff line number Diff line Loading @@ -12,6 +12,9 @@ *) applies to 0.9.6a/0.9.6b/0.9.6c and 0.9.7 *) applies to 0.9.6a/0.9.6b/0.9.6c and 0.9.7 +) applies to 0.9.7 only +) applies to 0.9.7 only +) Change ASN1_GENERALIZEDTIME_check() to allow fractional seconds. [Steve Henson] +) Change mkdef.pl to sort symbols that get the same entry number, +) Change mkdef.pl to sort symbols that get the same entry number, and make sure the automatically generated functions ERR_load_* and make sure the automatically generated functions ERR_load_* become part of libeay.num as well. become part of libeay.num as well. Loading
crypto/asn1/a_gentm.c +13 −0 Original line number Original line Diff line number Diff line Loading @@ -146,6 +146,19 @@ int ASN1_GENERALIZEDTIME_check(ASN1_GENERALIZEDTIME *d) if ((n < min[i]) || (n > max[i])) goto err; if ((n < min[i]) || (n > max[i])) goto err; } } /* Optional fractional seconds: decimal point followed by one * or more digits. */ if (a[o] == '.') { if (++o > l) goto err; i = o; while ((a[o] >= '0') && (a[o] <= '9') && (o <= l)) o++; /* Must have at least one digit after decimal point */ if (i == o) goto err; } if (a[o] == 'Z') if (a[o] == 'Z') o++; o++; else if ((a[o] == '+') || (a[o] == '-')) else if ((a[o] == '+') || (a[o] == '-')) Loading