diff options
Diffstat (limited to 'lib/x509/pkcs7.c')
-rw-r--r-- | lib/x509/pkcs7.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/x509/pkcs7.c b/lib/x509/pkcs7.c index b22a1cf65b..955cb5ae9c 100644 --- a/lib/x509/pkcs7.c +++ b/lib/x509/pkcs7.c @@ -256,7 +256,7 @@ gnutls_pkcs7_import(gnutls_pkcs7_t pkcs7, const gnutls_datum_t * data, _gnutls_fbase64_decode(PEM_PKCS7, data->data, data->size, &_data); - if (result <= 0) { + if (result < 0) { gnutls_assert(); return result; } |