diff options
author | tb <> | 2019-03-13 20:34:00 +0000 |
---|---|---|
committer | tb <> | 2019-03-13 20:34:00 +0000 |
commit | e44d7af88579ebe18a2d8ef57242b067993706b1 (patch) | |
tree | 81f6ab2828c3099781b20bfb3c3d4c20a8449029 /src/lib/libcrypto/evp/encode.c | |
parent | 06abece690d53a96a5357c7304e3672e1601f54a (diff) | |
download | openbsd-e44d7af88579ebe18a2d8ef57242b067993706b1.tar.gz openbsd-e44d7af88579ebe18a2d8ef57242b067993706b1.tar.bz2 openbsd-e44d7af88579ebe18a2d8ef57242b067993706b1.zip |
Fix a number of ASN1_INTEGER vs ASN1_STRING mixups coming from the
mechanical M_ASN1 macro expansion. The ASN1_INTEGER_cmp function
takes signs into account while ASN1_STRING_cmp doesn't. The mixups
mostly involve serialNumbers, which, in principle, should be positive.
However, it is unclear whether that is checked or enforced anywhere
in the code, so these are probably bugs.
Patch from Holger Mikolon
ok jsing
Diffstat (limited to 'src/lib/libcrypto/evp/encode.c')
0 files changed, 0 insertions, 0 deletions