summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_seclevel.c
diff options
context:
space:
mode:
authortb <>2024-05-03 18:22:26 +0000
committertb <>2024-05-03 18:22:26 +0000
commitb6b12c6b4d7e44619caf93e9c143c523b7ddfc2e (patch)
tree635373b6dca425815af7816066c7fbf0e63aa3bc /src/lib/libssl/ssl_seclevel.c
parent5458c6b35188e632472b2dbc209e92c1bca51c23 (diff)
downloadopenbsd-b6b12c6b4d7e44619caf93e9c143c523b7ddfc2e.tar.gz
openbsd-b6b12c6b4d7e44619caf93e9c143c523b7ddfc2e.tar.bz2
openbsd-b6b12c6b4d7e44619caf93e9c143c523b7ddfc2e.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/libssl/ssl_seclevel.c')
0 files changed, 0 insertions, 0 deletions