]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix the check of UI_method_set_ex_data
authorPeiwei Hu <jlu.hpw@foxmail.com>
Tue, 24 May 2022 15:10:29 +0000 (23:10 +0800)
committerTomas Mraz <tomas@openssl.org>
Fri, 27 May 2022 05:57:43 +0000 (07:57 +0200)
commit1aef2c10f10e0685298008be596c80e148c71a51
tree5c3f25e5b8ed3fea43695a4aa3c60bce40bb8cd8
parentf15e3f3aa95df743f0da793da952f87370efb4ff
Fix the check of UI_method_set_ex_data

UI_method_set_ex_data returns 0 and 1 instead of  negative numbers.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18397)
crypto/ui/ui_util.c