]> git.ipfire.org Git - thirdparty/curl.git/commit
darwinssl: test for errSecSuccess in PKCS12 import rather than noErr (#993)
authorDaniel Gustafsson <daniel@hobbit.se>
Tue, 6 Sep 2016 08:37:31 +0000 (10:37 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 6 Sep 2016 08:37:31 +0000 (10:37 +0200)
commit022dbdb8ac07379fa9cc2cbb3eba503b7f77a6ed
treeffa18b36229a054ac77849034425d3d3ec411317
parent8331b08d228697eec15c99162d8bae5a9ca1ef05
darwinssl: test for errSecSuccess in PKCS12 import rather than noErr (#993)

While noErr and errSecSuccess are defined as the same value, the API
documentation states that SecPKCS12Import() returns errSecSuccess if
there were no errors in importing. Ensure that a future change of the
defined value doesn't break (however unlikely) and be consistent with
the API docs.
lib/vtls/darwinssl.c