summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-04-25 11:08:47 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-04-25 15:15:31 +0200
commitb58f53d4d7cbd6d66ce2b5d186b2cba321a77ee9 (patch)
treef3abd2a72721a1e7d226aa49de25f10ec8296bb6
parentae1428fc2830e8ed07587fd99f2bc0e5795cfcea (diff)
downloadgnutls-b58f53d4d7cbd6d66ce2b5d186b2cba321a77ee9.tar.gz
tests: fixed expected error code in base64 check
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r--tests/base64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/base64.c b/tests/base64.c
index 7851e04877..7b9d4059c7 100644
--- a/tests/base64.c
+++ b/tests/base64.c
@@ -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",