]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
tests: fixed expected error code in base64 check
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Tue, 25 Apr 2017 09:08:47 +0000 (11:08 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Tue, 25 Apr 2017 13:15:31 +0000 (15:15 +0200)
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
tests/base64.c

index 7851e048771df37e956168f4ebba8c28bfd2ac98..7b9d4059c79540064ccbf6123ffb9779a060e240 100644 (file)
@@ -224,7 +224,7 @@ struct decode_tests_st decode_tests[] = {
                .pem = "-----BEGIN leak1-----E-\x00\x00-----END ",
                .pem_size = 34,
                .raw = {(void*)"", 0},
-               .res = GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR
+               .res = GNUTLS_E_BASE64_DECODING_ERROR
        },
        {
                .name = "dec-invalid-suffix",