diff options
author | Stef Walter <stefw@gnome.org> | 2012-07-17 05:47:59 +0200 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2012-07-17 05:50:07 +0200 |
commit | d51914b6483b7ddc806ee3861084aa98ee97a7fb (patch) | |
tree | a44a632483bba73fae25cef7a3874efbf7f18ea9 /tests | |
parent | 4a6a685c03bd92566c1656f1af3662ca7deecefa (diff) |
Use EFBIG as the error code when pin file is too large
* The previous EOVERFLOW was not supported on mingw
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pin-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pin-test.c b/tests/pin-test.c index 3a50e46..7e7dda8 100644 --- a/tests/pin-test.c +++ b/tests/pin-test.c @@ -270,7 +270,7 @@ test_pin_file_large (CuTest *tc) error = errno; CuAssertPtrEquals (tc, NULL, pin); - CuAssertIntEquals (tc, EOVERFLOW, error); + CuAssertIntEquals (tc, EFBIG, error); p11_kit_pin_unregister_callback (P11_KIT_PIN_FALLBACK, p11_kit_pin_file_callback, NULL); |