diff options
author | Maks Naumov <maksqwe1@ukr.net> | 2019-01-08 00:05:23 +0200 |
---|---|---|
committer | Maks Naumov <maksqwe1@ukr.net> | 2019-01-08 00:05:23 +0200 |
commit | d4c71de98168c4173ebb2daf5df7a9746ba929f8 (patch) | |
tree | 7b4d536f343cd3b2dba9e6911d81f666b3856869 /lib/x509 | |
parent | 1626663a7cad198457066df044bdf6196469c8d6 (diff) | |
download | gnutls-d4c71de98168c4173ebb2daf5df7a9746ba929f8.tar.gz |
Fix _gnutls_write_new_general_name() result checking
Diffstat (limited to 'lib/x509')
-rw-r--r-- | lib/x509/x509_ext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/x509/x509_ext.c b/lib/x509/x509_ext.c index 8213c6e427..ffc05bc0a3 100644 --- a/lib/x509/x509_ext.c +++ b/lib/x509/x509_ext.c @@ -1052,7 +1052,7 @@ int gnutls_x509_ext_export_authority_key_id(gnutls_x509_aki_t aki, san.data, aki->cert_issuer. names[i].san.size); - if (result < 0) { + if (ret < 0) { gnutls_assert(); goto cleanup; } |