summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dsa/dsa_gen.c
diff options
context:
space:
mode:
authortb <>2024-05-03 18:22:26 +0000
committertb <>2024-05-03 18:22:26 +0000
commit20c5da2aca77dcbe946a722d85bfe67619df1130 (patch)
tree635373b6dca425815af7816066c7fbf0e63aa3bc /src/lib/libcrypto/dsa/dsa_gen.c
parent11931f26ccf226e604c3cade768b7d6a351fc7e9 (diff)
downloadopenbsd-20c5da2aca77dcbe946a722d85bfe67619df1130.tar.gz
openbsd-20c5da2aca77dcbe946a722d85bfe67619df1130.tar.bz2
openbsd-20c5da2aca77dcbe946a722d85bfe67619df1130.zip
Simplify type handling in ASN1_TIME_set_string_internal()
ASN1_time_parse() takes a mode argument. If mode != 0, there is a check that mode is the same as the time type returned by asn1_time_parse_cbs() otherwise ASN1_time_parse() fails. Therefore the type == mode checks in ASN1_set_string_internal() are redundant and can be removed. ok beck
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_gen.c')
0 files changed, 0 insertions, 0 deletions